Is it available or possible to do?
Check this
This is a nice find.
To get it working with HA you’d need to:
Apart from the last item there is no reason why someone cannot create a docker image/hassio addon to do this.
Configuring router is obviously dependent on model and not everyone would be able to do it.
In the short term keep flashing, but I think this is a great idea for hass.io addon.
I will cross post in the hassio addons thread.
Anyone who can do it?
There another thread on the subject here New custom component: Sonoff LAN Mode (local, with stock firmware)