I have done quit a bit of striking with firearms. It is not optimal, but often you get stuck with a gun in your hand when a war hammer would be preferred. I would highly suggest doing training for this and having some "best practices" in place ahead of time. I sort of winged it on mine and it would have been good to have some techniques in place. I started with N frame revolvers. They were not as easily damaged as smaller guns, and my duty gun "The Hebrew Hammer" obviously got that nickname from something other than shooting people with it. Today....I would not have been using a firearm as an impact weapon as much as I did as a 23 year old with a badge and an N frame in the 80's. I butt stroked and muzzle struck several with an 870 with great effect. The key...safety on, and release the forened to get it out of battery as well. The sad thing with two of the memorable butt stroking incidents were when I was in a "lethal cover" job and had to act because I had the wrong personnel with me handling the non-lethal component, thus requiring action I would rather not have taken. I got much smarter over the years about getting "non-capable" officers off of arrest teams and search teams based on seeing how non-capable officers that lack intestinal fortitude can degrade a situation with in-action.
Muzzle strikes are often required when dealing with combative or non-compliant folks when armed with a long gun. This is something that should be discussed and I would even recommend policy and training at this point as officers are utilizing carbines regularly as a primary weapon.