Text-to-speech isn’t AI, so it is allowed! But be sure that if it used voice samples from real people, they’re ethically sourced.
How do you plan to use it?