in this case yes; however.... usb-c connections become unreliable over time. cables need jiggling and such. the protocol might be better, but the physical connector sucks. not as bad as d-sub connectors, but bad.
In the last couple of years I've had a Pixel 2, Pixel 3a and Pixel 6, all of them had/have issues with the USB-C port. Plus the general issues around what cables can do what. Basically these days unless it's a Google charger and a Google cable I have zero confidence that I'm able to do whatever I want to do. It's a real bummer.
I get the feeling that half the problem is just shitty ebay cables. I have been plugging and unplugging apple usb-c cables in to my macbook and ipad for years now with absolutely zero issues. Still has a sharp and solid snap when it locks in to place. But I've absolutely experienced loose and flaky USB-C cables before.
That's probably part of the issue too. I did have to replace the USB port on my Pixel 3a though and even in my Pixel 6 sometimes I have to rotate the plug for it to work. I know that doesn't make any sense but it's what I have to do. ¯\_(ツ)_/¯
I have had experience where the cables/connectors are just a hair bigger than spec to provide a better connection to the shield, and they cause the receptacles to wear and become loose over time. Then you use an in spec cable and it's loose.