Reality is how we interpret it. Imagination and volition play a part in that interpretation. Which means that all reality is to some extent a fiction.
One of the things that makes Hamlet unique among Shakespeare's characters is his courage to face up to the darker elements of his personality.