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.
RichardS
https://epartsconnect.com
Live realtime stock market prediction website. https://www.stocksignalslive.com my latest creation. Uses AI and machine learning.
New site featuring ESP8266 and ESP32 projects. tutorials, and news.
http://EverythingESP.com
ESP8266.com Founder and Administrator
The Mind Factory (get more from your 3D printer)
Home of the ESP8266, ESP8285, and ESP32 microcontrollers....