If you want to replace all of your USB Type C cables with Anker’s great Powerline series, there is a separate Switch power adapter that has a female Type C output so your can power your dock with a Powerline cable.
Although Anker sells the slimmest, best PD power adapters out there, the Switch doesn’t use the standard PD protocol when in docked mode, so the power adapter has to be specifically designed to work with the Switch or else you risk bricking your console.
Although it does non-standard stuff with the Switch, I’ve used it to charge my Pixel C, Razer Phone 2, Oculus Quest, Anker Liberty Pro 2s, and more, with no problem, for over a year now.
Hopefully some day Anker produces a power adapter, or even 45W battery, that supports the Switch in docked mode. I’d love a slimmer GaN adapter.
Now, why would you care? What’s wrong with the standard power adapter?
Portable displays are becoming more and more common, and Anker even makes portable projectors. The problem is that it’s now easier and easier to bring a big display with you, but if you want to power the Switch itself, you’d need to haul around one of Anker’s few AC ouputting batteries AND a power adapter WITH its own long Type C cable. This allows you to just haul around the adapter and battery, and then use any one of your Type C Powerline cables with it. One less cable.