Treating it like an investment IS the prudent thing to do. Is vs. what you want it to be theoretically are 2 different things.
My argument is that treating housing as an investment drives costs up over time and that at a policy level we should not seek to do that, we should seek to lower the cost of housing (while maintaining quality and so on).