You could definitely fit that many units in a 13k square foot lot. Fitting a narrow format house on a 2k square foot lot (40x50') is plenty doable. Even more so if they have some adjoining party walls, as with townhomes.
Though as you mention, zoning may prevent it. Some areas have 5,000 s.f. minimum lot sizes.