Or you can just use a loopback audio interface. You do need to buy an app to do this in MacOS though.