Can "Larynx" be used inside Python code? (e.g. PyTTSx3 backend)

For a project, I need a good and natural sounding TTS, so I have discovered larynx (actually a group of my friends who work on Persian TTS voice told me about larynx).
So I now have a question, is it possible to use larynx inside the code? If yes, how is it possible?