Animation Question

Is there a way to make or is it possible to make like a animation for a weapon when is equiped like in want to make a animation hold for gun animation hold for rifle and so on is there a video on how or did try some one to do that