$A$ is an invertible real matrix, is there a real matrix $B$ such that $A=B^3$?
For the complex case, it is not difficult. Over complex numbers, every invertible matrix has a cubic root. In fact, over $\mathbb C$, since every invertible matrix has a logrithm, we can take a family of matrices $e^{t\log A}$, and taking $t=1/3$ yields a square root of $A$.
The condition "invertible " is necessary for the real case. In fact, here's a counterexample link.
How about general cases? $A$ is an invertible real matrix, is there a real matrix $B$ such that $A=B^n$, where integer $n\geq 2$?