spectrophilia
Spectrophilia is a paraphilia, specifically, the sexual attraction to ghosts, spirits, and other undead incorporeal beings. Spectrophilia can also include the alleged phenomenon of sexual encounters and acts between ghosts and the living.
Spectrophiliac is the term used for someone who has this paraphilia.