The sphere theorem of Papakyriakopoulos states that if $X$ is a 3-manifold with non-trivial $\pi_2(X)$, then some non-zero element of $\pi_2(X)$ is represented by an embedding $\mathbb S^2 \to M$ (rather than just a continuous map).
I was wondering if this generalises beyond three dimensions. It's clear that the result is false for $\pi_n(X^m)$ with $m < n$, but maybe the result is true for $\pi_n(X^{n+1})$?
Going down a dimension, by the classification of 2-manifolds, if $\pi_1(X^2)$ is non-trivial, there is an embedding $\mathbb S^1 \to X$.
I attempted to construct some counterexamples for $\pi_3(X^4)$, but I wasn't sure where to begin.
An embedded codimension 1 sphere in a manifold with $H^1(M;\Bbb Z/2) = 0$ (so that every codimension 1 manifold splits $M$ into two components) gives a splitting of your manifold as a connected sum, so if your manifold does not have a non-trivial such splitting then all embedded spheres are null-homotopic. By the resolution of the Poincare conjecture, $S^n \times S^2$ gives a counterexample in dimension $n+2$ for all $n \geq 2$.