we know that the operator
$ H= - \hbar ^{2} \frac{d^{2}}{dx^{2}}+ V(x) $ is hermitian isn't it ??
however what would happen if the potential were still real but it depends on the Wave function, for example huypothetically
$ V(x) = |\Psi (x)|^{2} $ or $ V(x) = arg \Psi (x) $
since the functions $ |x| $ and $ arg (x+iy) $ are ALWAYS real, then the hamiltonian with potentials (1) and (2) should be Hermitian but they depend on the solution so i am not sure about the Hermiticity of a Hamiltonian in the form $ H =p^{2}+ |\Psi (x) |^{2} $ i believe that a real potential makes the Hamiltonian hermitian even in the case that we do not exactly know what potential is