How to attach an animated object to a rig?
Yes it's possible


Select the lamp
Shift+Select the armature
Enter into Pose mode (Ctrl+Tab)
Select the bone you want to attach the lamp to
Ctrl+P and select 'Bone relative'