Again, lets look logically at what you accomplish. I'm too lazy to do the math on it but lets presume for amusement that the gun has some recoil (indeed even the best recoil compensation system presumes the gun is being stocked or held). Gun gets thrown in, shots go off as it's falling maybe as it twists towards the door. Depending ont the dragons it it might fire at some of the room before it spins around towards the door, safe targeting system detects friendly targets locks the gun, no longer fires, recoil stops, if the gun is at rest on the floor the gun stops. Bad guys return fire in direction of the doorway.
If you have the option to throw a machine gun with machine sprite in it your better off throwing a grenade at least then you can hurt everyone.