I was actually running ESXi on my Mini for a while and successfully installed macOS in a VM on it. The performance was horrendous though, so much of macOS depends on GPU acceleration which I didn't get. I think I've read newer macOS builds don't even have a software video fallback, though that might just be the Apple Silicon builds which wouldn't apply to me.
It was definitely a fun project even if not terribly useful.
There is usually someone who’ll point out that this probably violates licensing, and it probably does if you do it on non-Apple hardware.