My experience has been that it's really easy to damage your USB-C port like this if you keep your phone in your pocket while walking/running. I always end up with the port loose and making poor connections.
I ended up buying a small battery-powered Bluetooth-to-3.5mm receiver that I keep in my left pocket, and then send Bluetooth audio to it from my phone in my right pocket. It's a pretty ridiculous setup.