Mixed-use buildings with restaurants on the lower floors and residential on the upper floors are very common. Not sure what prisons have to do with anything.