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.
Centuries later, archeologists will be puzzled by the black mirrors that the past civilization was so attached to. They will notice that nearly everyone had a small mirror clutched in his hands, even in the moment of death. The few scriptures will tell bewildering things that the owner of such a mirror could talk to other realms, and even see alive and the dead, in the reflections of a sub-physical plane called Eenthair-Neth. But the price was high: that plane slowly destroyed attention and will of the naive sorcerers, who eventually became possessed by the Neth demons. The civilization died because in the end nearly everyone was possessed.
“How long, I wonder, has he been constrained to come often to his glass for inspection and instruction, and the Orthanc-stone so bent towards Barad-dûr that, if any save a will of adamant now looks into it, it will bear his mind and sight swiftly thither? And how it draws one to itself! Have I not felt it? Even now my heart desires to test my will upon it, to see if I could not wrench it from him and turn it where I would—to look across the wide seas of water and of time to Tirion the Fair, and perceive the unimaginable hand and mind of Fëanor at their work, while both the White Tree and the Golden were in flower!”
Indeed, for some time, the natives had the cult of Tek Thuk, who demanded its worshippers to sacrifice more and more of their attention, but it was the arch-demon Ae-eye, invoked in XXI century, that reduced the entire society to animals. The last scripture found says "...everyone talks to Ae-eye now, every waking hour they spend with their eyes transfixed on the black mirror, from which the Ae-eye stares back into them."
I think you would like "The Book of Sand" by Borges. It's basically a description of a smartphone/internet addiction, from a time before it was technically possible.
Theater, imagination, the suspension of disbelief? Theater was a central Bacchic practice, and Bacchus/Dionysus is at once the height of loss of self control, and deeply cthonic. Death overturned by the relinquishing of self, through social enactment or personal initiation.
The input would probably be like they say. Create or modify the "spirit door" or "elf house" or whatever.
Output... maybe watch for phenomena in your imagination (which becomes distinctly visible in half-sleep, hypnagogic states, certain kinds of meditation, drug induced hallucinations)
If you are good at visualizing you might be able to use that instead of carpenting up an elf house. You might end up with a technique similar to that used by the Pure Land Buddhists.
Before tombs, Egyptians would bury their dead under the sand, only for jackals to dig some of them out. Then they started covering the graves with rocks to deter digging.
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.