More than 240 flats could be built after the council agreed to sell a city centre plot of land to a housing developer.