Yes it can be done but only with the help of other services. I currently use Music Assistant (I have the Music assistant server running on a Mac mini but it could run on almost anything). then the Homey app provides a card for speech. Music Assistant | Homey
alternatively there are other posts about alternative methods [TUTORIAL] Whole house audio and text to speech announcements to HomePod Mini and other AirPlay speakers