Animating in Maya (2016)

I’ve got a character and a rifle in his hand(combined). While animating character has to put the rifle on his back. Is it possible to leave the rifle on his back and to return a hand to it’s start position? Character and rifle are combined and the rifle has it’s own joint (it ends all right hand joints).

Thanks in advance!