Have you considered getting a MacBook and running a Linux VM on it? I do this using UTM, which is an excellent macOS front end for Qemu and Apple’s own Virtualization framework.
Also, depending upon your needs, a lot of software that you would typically run on Linux has a native port to macOS.