I have a 2016 mac with a touch bar and I've been dual booting Linux mint. Wifi, sound and the touch bar do not work, at least out of the box. May not be a good first time Linux experience if things don't just work well. Just giving you fore warning I would maintain a dual boot til you find something stable.
Alternatively Dells and thinkpads are well supported with Linux, they may not have the specs that the mac has but everything works and can be gotten used on Amazon for a couple hundred dollars.
Good luck with your Linux journey.
If you don't have the touch bar then it's a different generation. Do your research or try it out. You should be able to boot a live USB at minimum. Trying not to discourage you but give you some realistic expectations.