You can. It's not that hard to physically put a new chip on. Software people are too afraid to get their hands dirty.
Through hole parts need a lot more heat across a bigger area, or you have to go pin by pin. I've scorched many a through hole board trying to desolder something, cursing at those who didn't socket the chip in the first place.
Want to annoy a repair person? Pot the whole thing in epoxy.
For ESP these modules are the WROOM line.