I bet you could just remove the PCB without damaging or permanently altering the device. Then drop in a ESP32 dev board and perhaps a little custom PCB or perf board to mount it on and you could likely have a reversible build that you could put back to stock if you ever desired.