The vision here is to dump the cloud.
Yes, that was what I was proposing. A clean sheet. No Alibaba. Nothing required external to your home except access to the US time reference following a power interruption. The app that currently downloads a firmware update would be rewritten to download the firmware update from your own internal source - maybe running on a laptop instead of a phone.
Yes, this could function like a CM15A on steroids, except for the ability to transmit RF commands.
Of course, it would require a community to develop the open source code.
Jeff