So for
how to design a game with voice commands, you can look at
Lifeline. Honestly, if it wasn't for the (at the time) still very early stages of voice recognition, it is otherwise a really cool concept. I would love to see a remake with modern, higher quality voice recognition.
Ironically, as well, you could check some streamers. Some streams have made mods for various games to use voice commands. Rather than constantly shouting "up, up, up" to move 1 tile at a time, you just say the direction and the player would keep moving that direction until you say "stop". The game would need to account for any delay between: saying the word, the computer registering the word, and then the character actually stopping. So the game would need to be designed around that type of "inaccuracy".
As for actually implementing it;
For sure making it from scratch is not the way to go, as Kes mentioned, there are a lot of factors that go into voice recognition that need to be considered. However, there are already open libraries that have the necessary data for voice recognition of a wide variety dialects and accents. It would be far better to find a way to hook these libraries into RPG maker rather than making a plugin and voice library from scratch.
(I'm not a programmer and definitely have never messed with these libraries, but iirc, due to the size of the libraries, it's usually better to call a server to check the voice, and then call back to the game. So you'd also have to hook some internet stuffs into the engine as well. Might be wrong about that one though.)