How to connect Arduino Mega to Wi-Fi (with ESP-01)?

no, but it is not hard to upgrade the AT firmware