I'm using this example project from Apple to create and run linux virtual machines on macOS:
https://developer.apple.com/documentation/virtualization/run...
(Download the example project, build it in Xcode and run it. Point it to a linux .iso and you're good.)
I can stay in macOS for the stuff macOS is good at, and I can use linux for the stuff it's good at.