We've got laptops with modular USB-C ports that solve this effectively perfectly. An audio one would be even simpler. The only reason you don't see it everywhere is because they're being outrageously hostile to repairs, and choosing to charge you hundreds of dollars for repairs on a part that they know is easily broken.
Why is anything modular a good solution over a USB-C DAC-containing dongle cable?