I lived in a building thay was mixed residential/office space in Buenos Aires. It was really good, during the week you saw movement in and out so it felt alive, ar night and weekends was pretty empty and calm, and you could throw parties without bothering the neighbors.
Mixed use buildings for actually quite common in much of the world and can work quite well. See what you do though is you put them on the market for anybody to rent, and not force people to live in your company housing.
If you go into any major city you're going to run into mixed use buildings.