Actually it is possible. But the irony is that the person who came up with best idea that would have fixed/prevented this problem, has now been ostracized as a "fascist" by the left-wing tech community: http://unqualified-reservations.blogspot.com/2007/04/formali...
If circa 2007, San Francisco itself had been turned into a join-stock corporation, with all the existing residents given shares, then all residents would have grown wealthy as the city grew rich. Furthermore, the government would have had an incentive to allow new housing, since that would increase total tax revenues, and thus increased dividends for all residents. Right now, the politically powerful have no incentive to improve new building, since they do not directly benefit.