You’re in luck! IF games have a huge following among blind and visually impaired people, so there are a variety of ways to get text-to-speech.
If you’re on Windows, WinFrotz TTS is a special version of the Frotz interpreter optimized for text-to-speech. Infocom games will run under Frotz, as will a massive number of other classic games from the community.
If you’re not on Windows, or want to branch out beyond Z-machine and Infocom games, this thread gives some commentary on using other interpreters with speech software.