Sure - there were many branches of humans prior to us, like neanderthals, who were more developed than primates, some showed evidence of ritualistic burial for example, and they’re (mostly) gone now.
So, did they give rise to spirits, do you think, and if so, what happened to those spirits?