Now that said it could be, but there would need to be, in at least the Arduino package, a configuration to load the start of code in the flash at a slightly offset value to allow for the boot-loader AND it would have to be careful not to clear the complete flash.... so flash block size is now a possible issue and all flashes erase differently, at least at the block level....
So here is some new fuel to start a new thread..... "anyone???" about the ins and outs of a bootloader.
ESP8266 ESP32 deals at Amazon
Where I buy my ESP8266 boards from... (Banggood)
New site featuring ESP8266 and ESP32 projects. tutorials, and news.
ESP8266.com Founder and Administrator
Home of the ESP8266, ESP8285, and ESP32 microcontrollers....