Macs does support non-integer scaling. In fact, macOS currently ships non-integer scaling by default in certain MBP models. It gets criticized from time to tome, though the newer 14/16” MBPs ship 200% as default again.
macOS draws only at 1x or 2x. 3x is iOS only.
Apples decision to support only integer scaling was what allowed them to adopt Retina displays very quickly. Unfortunately it led to a subotimal solution in the long term.
The new 2021 MacBook Pros were such a great design and it's clear how every small thing points to them being the greatest since 2015 Pros.