But it will always be more expensive because of efficiency that goes with scale.
And even once it's all done, you take an efficiency hit because no one's roof will be at the ideal angle the way panels installed at ground level can be.
Also, a lot of ground level panels are on single-axis trackers, at least in my country, which boosts efficiency even more.