What type of ESP32 is it? S3?
The maker of the wESP32 also recently released a neat RP2040 based PoE solution you may be interested in: the RP2040-Shim [3] to match the already-existing PoE-FeatherWing [4]. Together, they're a small, neat solution.
(Not involved with those products, just found them well-designed/interesting.)
[1] https://wesp32.com/ [2] https://www.olimex.com/Products/IoT/ESP32/ESP32-POE/open-sou... [3] https://silicognition.com/Products/rp2040-shim/ [4] https://silicognition.com/Products/poe-featherwing/