Thank yo so much to everyone.
I had the latest wheels (tensorflow-macos==2.11 and tensorflow-metal==0.7.0), so I tryied with this: from tensorflow.keras.optimizers.legacy import Adam, as @Frameworks Engineer suggested. Even though it was helpfull still some model.fit failed.
So, at the end I went back to tensorflow-macos==2.9 and tensorflow-metal==0.5.0 and, as many of you suggested and, now everything is working fine.