16 bit to Heos HS2 soundbar (24bit)

A Nuc won’t help you here unless your Heos soundbar supports USB audio, which I am certain it doesn’t. You just need a seperate Roon endpoint connected to its optical input. You could use a raspberry pi SBC with an inexpensive Spdif output card to achieve this with little expenditure.