As someone who has programmed ESP32s, I doubt that they can run Linux. The ones I have (Risc-V versions) just don't have the RAM necessary, nor a memory management unit.
Maybe once they start coming with 32MB of RAM and an MMU it'll feasible to put a stripped-down Linux kernel on it.
640KB memory might be enough for everybody, but not for what most take for granted on Linux.
https://pocket.popcorncomputer.com/
https://community.popcorncomputer.com/
I'd love to see them, or some other company, resurrecting the concept.
https://community.element14.com/challenges-projects/element1...
Still agree it's not a great idea for any practical purpose when once could just use an RPi instead. TBH one of the reasons I enjoy the ESP32 is not having to think about an operating system; it reminds me of hacking around on 8 bit home computers in the 1980s, only better.