Search for Modipy. That is what I’m using to drive local headphone jack for TTS, etc in hassio.
Don’t have the details in front of me but I loaded it up and it’s working. It does have some background noise after it talks I’ve found but hasn’t been a problem for me.
-Stephen
Edit: Found the thread I used:
Of course this assumed you’re using an Pi 3…