Don't buy cables! You already have lots of usb-c cables, probably maybe. Just get a usb-pd to barrel jack adapter. Some are just a little molded plastic with usb-c female on one side (bring your own cable) and the barrel jack on the other. They're ok, have a bunch, but I love the adapters with like ~2 of cable, and that ability to flex & bend rather than sticking out the side is super nice.
It's wild how many huge power bricks I have that are like 24w or 60w that I don't need at all anymore. Usb-c chargers are so small, so cheap, so convenient.
The one caveat about this situation is that the adapters - I think - try to negotiate for a high wattage. Even though my monitor for example tops out at like 24w, the DC barrel jack adapter will greedily ask for 60w or 100w that it won't use. It'd be great to have a fancier version that lets you dial in the amperage asks, so you can let other things use that power on a multi-port charger.
Adding another pair of USB C female + USB C male somewhere along the combined cable length would be worse, I think? Especially in the 'dongle' configuration where all that mess hangs right next to one or other end of the cable: hard to hide and the extra bulk makes it easier to unintentionally pull the plug out.
Sometimes yeah having dedicated cables is nice, but personally I've been able to find much more joy by adapters, by reusing the same general purpose cables for all sorts of purposes, rather than having specific cables for specific use.
I have rarely found downside to this setup. The extra usb-c female and male don't seem to make any practical impact.