Ground falling/building’s collapsing behind player?

Is there a way to have the ground fall out from underneath a player? I want to make a part where the player and their party have to run away from a giant sinkhole where everything is collapleing and falling into a void. And if they aren’t fast enough or stay still too long, they’ll fall into it. I also want debris to fall in front of the player, blocking their path. Is this possible?

Original thread: https://forums.rpgmakerweb.com/threads/ground-falling-buildings-collapsing-behind-player.155178/