In 2020 apple switched to "M" series CPUs, which use an ARM architecture. For this reason I chose a 2019 macbook pro so that I could still have an x86 based processor and have more freedom with choosing a linux distribution for my server.
All of the development for my website, as well as most of my coures are done through this server running Ubuntu 20.04. Generally, booting from MacOS to Linux is relatively straightforward.