Would it be possible to poke something through the keyhole from the outside, in order to push the key out of the lock on the inside, so that it falls out?

Sorry if this seems a ridiculous idea, and if it's possible I'm sure you will have thought of that already.