Raspberry pi audio hat optical in analog out

I have a rasberry pi 4 which i am currently using as a streaming end point (source = qobuz) with a dragonfly cobalt as the dac. However, i am trying to see if i can get a hat for the raspberry pi which will accept optical in from my TV so i can hook this upto my HIFI whilst still using the cobalt as the dac… is this at all possible?

I have not tried this, but I think this HAT would possibly achieve what you are trying to do?