Yes, you can buy your very own haunted house - if you don't mind the fact that it's always "on", so to speak, and highly unpredictable in the phenomena that may occur.
It can be difficult for realtors to sell houses in which crimes have occurred, as well as those reputed to be haunted. Especially if the haunting occurs as the result of the crime.
Some states require the seller to disclose a haunting; there was a case in New York, in 1991, when potential purchasers were able to back out of the deal upon learning that the property they planned to buy was reportedly haunted.
34 states require the disclosure of any facts that might cause the property to be devalued. The hardest homes to sell are those in which a murder has taken place, and even worse if more than one murder occurred. The homes of suicides are almost as difficult to sell, and haunted homes rank third on the list.
There are, though, those who really do want to live in a haunted house; those who do, are in luck, because a quick Internet search turns up several sites dedicated to helping those find a haunted property. Happy h(a)unting!