A few years ago, I took a job in an all-mac shop and I figured it out. It never stopped feeling clunky, but that was certainly a matter of personal preference. Eventually, I got all the docker things working well enough in linux that I installed ubuntu on the mac and it was a really nice experience. I dig their hardware.
I think it comes down to what you're good at and used to.
With that said, as a python developer and system maintainer, I found the whole brew thing in macos awkward and extremely finicky, though I was always able to get things working eventually. I did drop macos within a few months, but I am sometimes made aware of the polished software and device integrations that just aren't available to me on the platform.
I think my few months of experience with the mac echoes what others have said about Linux. I might have enjoyed all the work to figure out how to make it usable when I was younger and had more time, but, at the end of the day, I just needed it to work and it only sort of did. I much prefer linux (ubuntu, gnomeshell, x11).