That's the rhetoric but I'm not sure it's the reality. At least not where I live. It's a big country so ymmv. In a neighbourhood with a scam college bringing in lots of students yeah sure maybe some distortions of the market were more noticeable as rental vacancy plunged and rents increased.
In Vancouver housing prices were already going into their exponential curve in 2014 before this government was even elected or immigration numbers were fiddled with. In the last two years while immigration was increased home prices have been flat. You can have a look at BC Assessment as home values are updated every year. The biggest change comes with 2021 due to ultra low interest rates. As interest rates rose home prices stagnated as expected.
Personally I don't see any connection at all between home prices and immigration though I can imagine rental vacancy and rent prices were impacted in some places (particularly smaller town Ontario) due to the reluctance of municpalities and the province to build more homes and the prevalence of exploitative scam colleges).