Like all buildings should have some kind of standard for solar panel placement added or retrofitted with a very low cost modular mounted frame. Then, when you get an appliance it has a built in battery and comes paired with the right size panels that are sized for each region in the local store/wholesale distribution layer.
The whole scheme is hybrid in the first phase of a decade or so while edge cases and issues come up, like how to handle high rise buildings. Then the burden of grid infrastructure is less of a burden on the poor in total because few people are going to replace all appliances in this instance unlike those that can install a whole house solar system. The entire thing would be more incremental and serviceable over time with modularity. It is less efficient overall compared to a single controller and battery but doesn’t require large upfront cost or repurchase later down the line.
Adding solar panels to building is fine, but why do you want to bundle appliances and electricity?
Sounds like you’re introducing a lot of complexity for unclear benefit.