No, because guns don't go off by themselves. Besides I believe it will damage t he gun over time, thick plastic rod sticking out of your barrel, with slide closing on it, barrel on a Glock tilts up and slide forcing foward. Do not like, sometimes crushes on the extractor.
Just keep your slide open so others can see.
See user title