Dozens of old garages are set to be knocked down and replace with affordable homes.