The Bible cautions we’re (ESPECIALLY) not supposed to pray TO the dead nor even for the dead ... this is beyond occult.
What does the Bible say about praying to the dead?
https://www.gotquestions.org/praying-to-the-dead.html