Apple provides their own hypervisor framework and virtualization framework. Roughly 50 lines of code and you can boot up a mac vm which they support.
Except, of course, this tool also adds a GUI and easy configuration options.
[1]: https://github.com/insidegui/VirtualBuddy/blob/main/VirtualC...