Whether housing is rented or owned has no relation to its price. Making it illegal to speculate/profit from housing doesn't solve the underlying issue that is a massive (xx,000,000) unit shortage of housing in the United States.
As far as I'm aware there are more housing units than people in the US. We do have an incentive structure that puts property owners' needs at odds w/ society's needs on multiple factors, and some of them (i.e. NIMBYism) can be addressed orthogonally to the intractability of housing as investment vs housing as housing.