Sure, but zoning is largely done for economic reasons. And cities without zoning (e.g. Houston) end up similar to cities with it. I don't think it changes that there's not an active effort to segregate cities or keep people with alternative lifestyles away.[0]
[0]: There was some of this in NYC when Robert Moses was the central planner, but it's hard to argue it's continued today.