Question about using Ropieee for two inputs

Hi all - newbie question here. If I install Ropieee XL on my Pi 4 with HiFiBerry Digi+ DSP board, would I be able to switch between using Roon (via ethernet) and the TV audio via the optical input connector on the Digi+ DSP? Also using the OSMC RF volume control? Thanks for any help on this. Most appreciated. Bob