With high mortgage rates and a limited inventory of homes to contend with, it can be difficult to find affordable options.