Well effectively wouldn't the Oculus hardware just see the iMac as a windows 10 PC, certainly the specs are up to the job, I think it has the correct ports once a usb-c to hdmi adapter is used.
Just don't know if it's worth the gamble, I checked and oculus say they only accept unopened units as returns.