The plastic comes in rolls that you can use to seal a rifle.
I suggest double bagging and include oxygen scavengers.
I buy the plastic bags in rolls, do you think a rifle would fit in the widest one? You would have to remove the scope and bag it separately. Have you tried this? I have only bagged food for the freezer.