I suppose, but one of the basic principles of safety is to put as many steps between you and disaster as practical. Storing a magazine next to a firearm is considerably safer and just as convenient, storing your magazines somewhere else entirely is slightly more safe and slightly less convenient, so most gun enthusiasts don't bother with that if it is in a safe household. But storing it in the weapon seems foolish.