yeah but that wouldnt be USB C because usb C is a standard that requires a ton of different things like double way data and power rails and handle 60watts etc. If you just need 5v then you can do it in a much smaller way via another connector or even wirelessly.
I'm gonna assume you know more about this and I do because i cant even light up an LED in a circuit.