Can a Mac use AirPlay to stream to stereo HomePods?
There is an application that make possible to stream any source of sounds from mac to paired stereo HomePods. It also let you use others types of wifi or bluetooth speakers at the same time. I uses using it from some time ago and it works well, but is not free.
https://rogueamoeba.com/airfoil/mac/