For the MacBook Pro with M1 Pro it is explicitly mentioned in the tech specs that it supports 6k with 10bpc.
This page claims that even the M1 MacBook Air from 2020 supports 10bpc on the external 6k monitor: https://support.apple.com/en-us/HT210437
But the actual technical spec page for the machine never says it, AFAICS.
https://support.apple.com/kb/SP825?locale=en_US
> Simultaneously supports full native resolution on the built-in display at millions of colors and: One external display with up to 6K resolution at 60Hz
My impression was that Apple implemented Thunderbolt themselves (and got rid of external chips) and that at least the first generation M1 machines lacked the 10bpc feature in the GPU and/or the Thunderbolt part.