Flats have been lagging behind for house price growth which could provide opportunities for some first-time buyers, a survey for the bank found.