Yes, you can. It just won't be the "most profitable" thing to build. As long as it is required as a condition of construction (as I believe it is).
You can if the housing is centrally located within easy walk to essentials and in close proximity to a good mass transit system for longer trips. Probably difficult bordering on impossible to achieve in our car-centric community. Far easier to achieve in more urban areas where walking/mass transit is more the norm. Challenge for us is whether we want to become a community where there is less focus on the family car and if so, how we get there.
Depends on the characteristics of the community where that housing is going.
Multi Family Garage Sale Sale Date: Apr 20, 2024
More info
Huge Brand New construction Apartment in 2 family home with 4 bedrooms 3 bathrooms
4 Bd | 3Full Ba
$4,500
https://www.sightline.org/2019/10/02/in-mid-density-zones-portland-has-a-choice-garages-or-low-prices/