The Azerbaijan land borders are still closed for tourism (last update july 24, 2023 on Caravanistan) But you can fly in.
Armenia and Azerbaijan have been in a conflict about the Nagorno-Karabakh region for years. You won’t make a chance of entering Azerbaijan if you have this region stamped in your passport.