Interesting, but consider the huge obstacles involved.
The biggest is cost, simple $$$'s.
A new roof installed is what? $7,000?
Solar panels are all but free now if you sign away your soul to some companies.
I can install that $7,000 roof for maybe $2,000 in materials.
There is no way that I'm going to cough up what will probably be $20-30,000 for roof panels and then add an almost equal amount for batteries and controls.
No, this is a great idea and in 10-15 years may be an affordable alternative, but it won't be anywhere near affordable today. For now It will simply be a novelty roof for the wealthy.
Dave