Yup- ESP32 is absolutely compatible with Arduino.
There's also great support for CircuitPython and MicroPython, which makes it trivial to program the devices.