Feeling haunted by something or someone is a sign of severe restlessness, the cause of which has not yet been discovered by the dreamer.
It is possible that feelings of guilt are affecting your sleeping. However, it is also possible you need to face a problem that, so far, you have consciously refused to see.
[1]A warning that reveals the problem and the one causing it
[2]