USB-C has become such a dominant protocol because of the versatility of the connector and the wide range of data and power it can deliver. Because of that, yes, most USB-C cables will work to charge the Switch. However, as with any mobile device, it is important to use undamaged, good-quality cables to avoid potentially harming an expensive console by cheaping out on a unsafe or frayed cable.