Allow player to write during the game with a countdown clock. It is possible?

Hey guys, I'm Max, and I'm brainstorming a game idea to help my writer friend who has ADHD build a consistent writing habit. The concept is an RPG where battles are decided by how many words you can type in a set amount of time.

For example, to beat a goblin, you might need to write 70 words in 3 minutes about a character, but to defeat a red dragon, you'd have to write a 500-word scene in 10 minutes, and so on.

I noticed RPGMaker has a countdown clock feature, but I'm curious if there's a way to create events where the player has to write during battles or scenes. I've checked out the base events, but I haven't found anything that fits yet. Does anyone know if this is doable and how I could make it work? Any tips or ideas would be awesome!
I'd discard that idea. The maker is not focused on full keyboard support. There are scripts to change that but you wouldn't call them fast processing input machines at all...

Original thread: https://forums.rpgmakerweb.com/threads/allow-player-to-write-during-the-game-with-a-countdown-clock-it-is-possible.175496/