Check compatibility first. Some of em need a binary blob network driver that certain distros don’t ship by default. But yeah you can run Linux on Macs pretty good. What mb do you have and I can give better input?
Check out Action Retro on YouTube and mastodon (bitbang.social). Sean has several videos detailing how to install Linux on mostly older MacBooks with good success. Main thing to look out for is driver support for WiFi and sound.
I installed Scientific Linux on a brand new intel macbook some 7-8 years ago. Worked pretty well once I realized that MBR boot was not an option. I would think other modern distros would work just as well.