Yes, we are able to buy real estate in a decent location. We live not far outside Stockholm where prices are really high compared to the rest of the country, and we had no problems buying our house.
My salary is ~twice the median income for this area, and by any measure we're at the upper end of middle class by Swedish standards.