MPT is built on the assumption that trying to time the market is a futile exercise. Well, it's not if you are a quant and a good one. A quant is always trying to time some behavior - especially mispricing. And good ones get it often right. For instance, buying when there is blood on the street (extreme fear) has proven to be a decent timing tool. It works even for fundamentals driven guys! And yes.
There is a bigger flaw in MPT. Diversification among asset classes would work if the all asset classes involved produce respectable returns but fail temporarily and the failures are uncorrelated! It can't work if one asset class produces 8% and another produces 2% but is inversely correlated with the former! Should I invest in an asset class that offers me a yield of 2% just because it hedges the risk of the part producing 8%. Staying with the asset class that produces 8% and living through the downturn might be better.
As @Emanuele mentioned, the mean and variance are not fully known quantities. There are different regimes in the market. The mean and variance change with the regimes. Real estate in a booming district might offer double digit returns during the boom time, but not forever. That's clearly a regime shift. So all real estate at all times is not equal. Gold does well only when everything else does badly. Emerging market debt offers very close to double digit returns but is exposed to currency risk ........... If I want my portfolio to work well, I still have to churn it and try to time the entry and exit of different parts of it. I need to get rid of real estate in a saturated city (and perhaps get into real estate somewhere else). I need to stay out of the useless yellow metal when the other markets are stable. I need to get out of the equity market when the valuations become frothy, say CAPE of 40......
You can choose to be a bull and you can choose to be a bear if there is quantitative / fundamental reasoning to it. But there is no reason to be a pig. That's unfortunately what MPT recommends.