If you were to make a camera that is fully open, maybe even modifiable on the info it sends to the lens and what information it wants back, then you would get aftermarket adapters for Canon EF (you could also make one yourself with publicly available info). Sony E would be a tougher nut to crack, but there is a fair bit of info already out and there are already E mount adapters feasible.
So yes, maybe trivial is hyperbolic because of the Sony E mount, but very feasible.
(For background, a friend and I worked on designs for making an open camera platform a few years ago)
Mount optical characteristics are very simple. Just make sure your base mount has a larger diameter and a shorter flange distance, and you're golden. If you are designing your camera around that it is almost trivially done.
The code for implementing a basic E mount is on github, for the EF mount you just have to go looking around on some forums or buy it from the guy behind Metabones, same for Nikon G.
That’s a bit hyperbolic, the collar isn’t the only difference between those lens connectors.