Theoretically yes. In practice the numerical errors propagate like crazy because once you have a slight non-commutativity between $A$ and $X$ you are ending with complete nonsense in 20 steps or fewer instead of getting the result with machine precision. Try the method on A={{1,2},{2,4.01}} and you'll see what I mean...