Is it possible to connect USB 3.1 Type C to ESP32?
No, it isn't.
The TX and RX on the ESP32 are the serial transmit and receive pins for standard UART communications.
It is not in any way compatible with USB signaling.
At least you would need an USB serial port chip to have an USB UART which you can connect to UART RX and TX pins.