It's definitely been done. Once upon a time there was a thing called Planned Communities. Reston, Virginia is one such. So is "The Villages" in central Florida. But, especially since the sub-prime mortgage crash of the 00s, I haven't heard of anybody attempting it.