On a Nano, these would be a concern if you use serial, because pin 1 is the TX pin.
Don’t know about the ESP32, never looked at where, or if, the pins for Serial Monitor port are. But I do note that GPIO1 is also U0TXD on some images on the web, so I have “concerns”: