Short answer, No!
In the military, the commanders must have great autonomy and lead a very, for the most part, homogeneous organization. Everyone knows the mission, everyone knows their role, and there is not a lot of dissenting opinions. It does teach you to make hard choices, but certainly is not in the same vain as that of a world leader.
Does being removed as the Commander in Chief of a Combatant Command prepare one to be a Babbling Head on the campaign trail. Apparently it does.