I've found this device on the interweb that claims to do exactly this (https://hifimediy.com/product/hifime-ur23-spdif-optical-to-usb-converter/). Any reason why this wouldn't not work? I'm not really up to date on digital audio formats.
Thanks in advance.