Can I change a pin's designation on the ESP32S3 to either analog (A) or digital (D) with an "if" statement in the loop?

Thanks for keeping us up to date