Or 6-7 smaller houses and sell them for ~$1m each.
But yeah, that has happened elsewhere in the Bay Area. (Zoning tends to prevent it, though, so there's an element of regulatory arbitrage.)
Though as you mention, zoning may prevent it. Some areas have 5,000 s.f. minimum lot sizes.