I suppose that it could happen, but I am somewhat doubtful. What kind of gun was it?
It had to have been an older gun. Nowadays, it’s nearly impossible to get a firearm to fire without pulling the trigger.
A fully-automatic assault musket.