It's really great that your relay modules have an opto-isolator (EDIT Please verify to be absolutely sure) ...

Unfortunately, you're not using an isolated 230VAC to 3.3VDC supply and there shouldn't be a GND connection from the relay modules to the ESP32. If you can resolve these 2 issues, opto-isolation will be enabled for your mechanical relays.
