yes, it will work. I haven't tried the "works with sonos" capability. But I am familiar with Sonos. It is the gold standard for music-over-wifi.
However, the Onkyo is also enabled for Play-fi. you can get a play-fi Pre-amp for ~$30 ( = to Sonos connect(349)) or a play-fi pre-amp/amp combo for ~100-200( klipsch power gate or a polk unit)
HEOS is also very good if you decide to go with a Denon or Marantz unit.
Good luck
However, the Onkyo is also enabled for Play-fi. you can get a play-fi Pre-amp for ~$30 ( = to Sonos connect(349)) or a play-fi pre-amp/amp combo for ~100-200( klipsch power gate or a polk unit)
HEOS is also very good if you decide to go with a Denon or Marantz unit.
Good luck