I've used DS3231 on ESP32 as early as maybe 2018 so hardware-wise there's no problem. Just need to right library to drive it. The one you linked to is made to directly plug into RPI for convenience. I don't know what was soldered to the back side. Could be a battery. Ask the seller.