Flash with ESPHome? Not that I'm aware of (but would be nice to know)
Edit: just found this: Smart Bulb (9W/RGB+CT) - Preflashed & Preconfigured
I'm happy with the Shelly bulbs, they work without internet shenanigans and can do MQTT, etc...
I have used Pi Zeros and ESPresense for prsence detection... seem to work ok, but if you're wanting to do room-level detection, (ie who's where), then that seems to be really difficult to tune the sensitivity