I have looked at this. However, you pretty much have to buy the OS and Apple does not want you installing it on anything but Apple products; it will probably be a challenge to get it to work. It was too much work at the time so I abandoned the effort.
A challenge, but doable. I have done it before a couple of years ago. I have a imac, but it's way to old to run any of the new versions of macOS.