You can run macOS in a docker container. There’s no hardware acceleration for gpu, but works well enough.
You can also try macinabox if you have unraid:
https://hub.docker.com/r/spaceinvaderone/macinabox
It’s probably the easiest way of setting up a Mac VM if you have unraid. I know there are similar options for qemu and kvm based hypervisors. If you have an amd gpu you should be able to pass it through.
My only experience with docker is headless in CI. I do have AMD. I'll have to look into this. Thanks
Emulating mac or using mac SDKs on non apple devices is against apple's bullshit license though.
quickemu [1] is good at running macOS VMs.
1: https://github.com/quickemu-project/quickemu