No. Text-to-speech isn't generative AI "per se." However, there are several text-to-speech programs that DO use generative AI to create the voices.
What you need to look for is a program that doesn't use generative AI. You could try an older text-to-speech program to be safe, but that's just a suggestion.