Why do you do this? What is your goal? I think the answers to those questions will help you decide whether it's a sinful habit or not.
If you are doing it to connect with the dead, it is sinful:
There shall not be found among you anyone who burns his son or his daughter as an offering, anyone who practices divination or tells fortunes or interprets omens, or a sorcerer or a charmer or a medium or a necromancer or one who inquires of the dead, for whoever does these things is an abomination to the Lord. And because of these abominations the Lord your God is driving them out before you. You shall be blameless before the Lord your God,
—Deuteronomy 18:10-13
Another verse to consider:
Now the works of the flesh are evident: sexual immorality, impurity, sensuality, idolatry, sorcery, enmity, strife, jealousy, fits of anger, rivalries, dissensions, divisions, envy, drunkenness, orgies, and things like these. I warn you, as I warned you before, that those who do such things will not inherit the kingdom of God.
—Galatians 5:19-21