Yes, but one does not need to maximize electrical generation at the point of use. Just because a building has many windows does not mean they are an ideal location. The "trick" with electrical distribution is to understand that losses are proportional to the current^2*resistance. Since power is volts * current, one transmits power at extremely high voltages and lower current. A typical 765kV high tension line transmits 1000MW of power over 160km with less than 1% loss. Truly remarkable. So put the panels out in the desert/away from the city and transport it in.