Not a really good idea. I personally know a CCW trainer who tried to do that. He got shot through his hand when the shooter didn’t expect that to happen and he pulled the gun back. There was enough resistance that he pulled the trigger in the same motion as the barrel slipped away from the trainer’s hand.
I say it is not a good idea when showing this to someone. When you are fighting for your life, it is a different story.