A little off topic but ChairInTheRoom actually made a game exactly like you’re describing for the last gainjam in RPG Maker: The Hero will be Mine (temp name) - A prototype for the 9/2021 Gain Jam.
Fair warning, it has a ton of bugs, being a gamejam game and all…