There is no restriction of QM avoiding this problem even if these states appear to be a bit weird since they have no "preferred" spatial localization, but in principle they cannot be excluded. I stress that we are discussing about proper states, i.e., elements of $L^2(\mathbb R)$ and not, for instance, eigenfunctions of the momentum operator.
Actually, the use of the mean value to localize the particle is partially conventional and it makes sense when the distribution is strictly concentrated around its mean value and there are cases where it does not happen even if the mean value of the position is defined. Think of the eigenfunction of the harmonic oscillator...
Regarding a Hamiltonian operator admitting such $\psi$ (supposed to be real) as eigenvector is easily constructed
$$H = -\frac{d^2}{dx^2} + V(x)\:,$$
where $$V(x) = \frac{\psi''(x)}{\psi(x)}\:.$$
With this definition $\psi$ is the eigenvector with zero eigenvalue.
Assuming $$\psi(x) = \sqrt{\frac{a}{\pi(x^2+a^2)}}$$
for some $a>0$, we have
$$V(x) = \frac{2x^2-a^2}{(x^2+a^2)^2}\:.$$
This is quite an interesting potential represented below for $a=1$ 
This Hamiltonian is self-adjoint on the same domain of self-adjointness of $-\frac{d^2}{dx^2}$ because the multiplicative operator $V$ is bounded and self-adjoint. In other words $H$ is self-adjoint on the domain of the closure $\overline{\frac{d^2}{dx^2}}$ coinciding with the Sobolev space $H^2(\mathbb R)$ which certainly includes $\psi$. So everything is well-defined
This second picture also represents the function $\psi$, the eigenfunction of $H$ with zero eigenvalue.
