Greenhouse project using arduino

okay, so can I replace the Arduino Uno with the ESP32 and add the other outputs?

Sorry if I didn't understand, I'm still a bit of a layman.