State office buildings could soon become apartments in bid to ease housing crunch