Can I delete the directory MAMP_xxxx?

Yes, the installer renames your existing /Applications/MAMP folder to /Applications/MAMP_current_date during the installation process. You can safely delete this folder later if you no longer need it. However, it’s a good idea to keep it if you want the option to revert to your original setup.