You can develop for ESP32 devices using only a computer using Wokwi. You can use Wokwi directly in your web browser, though you can only save files publicly and compilation may fail if the Wokwi servers are busy.
This guide will show how to create a new PlatformIO ESP32 project and and run it on your computer with Wokwi.