The OP is worrying about risk/protection of his ESP32 on using boost converter MT3608. Me hobbyists know very little about risks, so I searched this forum and found the following the good: Boost converter with overvoltage protected output - Olin Lathrop, EESE, 2018
https://electronics.stackexchange.com/questions/355557/boost-converter-with-overvoltage-protected-output.
https://electronics.stackexchange.com/questions/355557/boost-converter-with-overvoltage-protected-output.