Yes, it'll work, and the list of components you have is good enough to get started. Also, there are plenty of videos on YouTube to help you with these generic sensors (interfacing) with ESP32. If you get stuck, feel free to ask for help here with details about the issue you're dealing with. Looking forward to seeing your progress in the project and self-promotion channel!