Yes you can. A good old fashioned line out/Line in connection and a long cable is a far better ‘whole house audio’ solution for many situations.
I’ve done multi room streaming players and even if the sync works it’s more of a faff than people admit to open your phone, find the app, find the station set up the sync etc etc. The new house has far few players and a number of in wall line level cables.
Some are about 10m long – as long as you avoid running them alongside 240v cables they’re usually fine. For longer runs – >100m or more – you can use CAT5 network cable with a couple of baluns like these (cheaper options exist)