You can. You just have to attach TTS output and STT input to your terminal. The game is already there, and people have been turning text into speech and speech into text with their computers for decades now. It's just on you to configure your text input and output devices.
do it :<p><a href="https://github.com/CorentinJ/Real-Time-Voice-Cloning" rel="nofollow">https://github.com/CorentinJ/Real-Time-Voice-Cloning</a>