the Sumerians also had local accommodation for their dead, with libation tubes to provide sustenance for them in the after life. Irvine Finkel in "first ghost" explains this really well, and entertainingly. Do get the audio book if you can.
Possible evidence for this sort of thing in Peru too: "doorways" carved into rock faces etc. at local spiritual sites ("huacas") although little solid evidence of what they were actually used for, or exactly how old they are.
Saul from the book of Samuel tried to talk to a dead Samuel, and was divinely bollocked for it. (https://www.biblegateway.com/passage/?search=1+Samuel+28%3A1... or more fun, rendered in lego: https://thebrickbible.com/legacy/david_vs_saul/saul_and_the_...)
the Sumerians also had local accommodation for their dead, with libation tubes to provide sustenance for them in the after life. Irvine Finkel in "first ghost" explains this really well, and entertainingly. Do get the audio book if you can.