With sliding definitions of both "middle class" and "afford" I believe this answer will always be "no".
What's sliding with the definition of "afford"? I thought there was broad agreement that housing should be no more than 30% of your gross income, give or take a couple percent based on who you ask.
But there's a lot of places where you can't even get an affordable apartment. And it's hard to get a smaller house at a proportionally smaller price.