Yes, but some people would prefer to have an apartment and save some money, and that would overall create less demand for the available homes.
End result: people who want apartments get them, people who want houses still get them and pay less for them too.