The state needs to add at least 222,000 homes in the next decade to rein in housing costs, the Healey administration said.