In the past it is true that Sonos kit did appear to crash a Hub 5 in router mode.
This was most surely a frailty of the Hub 5.
I have not followed to know if later software updates for the Hub 5 fixed that.
Hub 5 Wi-Fi has quite a poor reputation for compatibility and also consistently appears
to block traffic between the 2.4 & 5GHz bands resulting in customers that can not find their
printers / scanners from a laptop and / or can't connect to their CCTVs or A/C units from a mobile app.
I'd revert to Sonos system Ethernet connected & try again.
If that does not work out, time to accept that you have more complex needs
and putting the Hub 5 into modem mode with a decent 3rd Wi-Fi Party router is the way to progress.