I don’t have a Raspberry Pi, so I can’t say with absolute certainty. But when I was searching for a multi-channel Roon solution, the consensus on this site was that the RPi can only support 2-channel via HDMI. Here’s the most recent RPi update I could find:
So I ended up having to use a small Windows mini-PC instead with Roon Bridge.