Far Eastern or Near Eastern?
I am not sure where the real roots are. The concept of ghosts and spirits having unfinished business and sticking around shows up in a lot of places and these days it is hard to say what influenced what. In anime it is mainly of course Japanese roots which are Shinto and Buddhist, mainly Shinto. I am not sure how closely related Shinto is to other east asian beliefs.