There are plenty of ways to simulate the exercise with no risk. If you want to do stress exercises, you need to come up with a different way. This[1] is one of the standard ways. Notice that at no point does a real gun get pointed at a human being? That's by design.
Fail. Absolute fail.
We say "the gun is always loaded" even when we "know" it is not, because if we never, ever point a gun at something that we don't want to destroy, we will never make that one in a million mistake.
Fail. Sorry for the forcefulness, but this kind of gun "play" always deserves to be called out and discouraged.
Assume that you're a hostage negotiator, or someone in the police or military that otherwise expects to end up in a situation where someone is pointing a presumably loaded weapon at you at close range. I think there's a good argument to be made that you should train for this circumstance under the most realistic conditions you can muster, rather than hoping that your first live experience will go just the way it did on paper. If having a real gun pointed at you helps to simulate and train your real life response, this might be a good strategy.
Personally, as someone not in such a field, I'll spend the bulk of my efforts on figuring out how to avoid such situations. But for a professional training for a situation they expect to encounter, this is not 'play'.
For the rest of us (and I didn't see anything to suggest that these two martial artists were practicing in a professional context), the likelihood of needing to deploy this skill in a real attack is small, and if you want to practice such a skill as self defence you should be doing it with a fake gun, or at most in a way described by novas0x2a's link to the Tueller drill.
To invoke a programming saying, "you ain't gonna need it."
Note that I'm not advocating this for "play", or even amateur martial arts. Someone training for situations in which a real weapon will be pointed at them and they have to remain calm will benefit tho'. (I'm offering evidence to support your point BTW, not arguing with you!)
If you intend to replicate your experiments in the future, you can explicitly seat a snap cap in the chamber and leave the magazine out (no mag safety on the Glock). That way you are still violating rules 2-4, but possibly not rule 1.
But would that always work on a Glock, which has an odd striker arrangement instead of a traditional exposed hammer, and doesn't have a way to decock it without pulling the trigger?
Because of the way Glocks have their lug linkage, many will actually fire even when slightly out of battery. Knocking the slide back 1/10" and holding it there is probably not going to be sufficient to disengage the lug that prevents trigger pull.
Even if one could manage to pull the trigger with the gun significantly out of battery, I imagine that this would be a non-event with an exposed hammer because as you say, the hammer would fall onto the slide, not the pin. Still, firing out of battery would seem to be a function of the linkages, not striker-vs-exposed-hammer-ness.
I distinctly recall the instructors commenting they'd rather face an idiot who gets too close to you with a gun than an idiot who gets too close to you with a knife, the knife will still cut you if you grab it.
They also suggested you comply with anyone who has a weapon unless you have good reason to think they'll kill you anyway.
I Really should take Krav up again, was good stuff.
Either way, it's a hell of a work out.