And does anyone have a guide on installing macOS under KVM or QEMU?
It isn't that hard (https://github.com/kholia/OSX-KVM) but unless you have a compatible GPU to pass to the macOS VM it will be barely usable. macOS doesn't play very nice without GPU acceleration and virtual GPUs aren't supported by macOS.