ESP32 confusion

Thank you all for the replies!

So it would be possible but then its not compatible with Arduino. I guess I will go with the transistor solution for now but make one without for the end version with a little dongle.