It is not clear if Shakespeare intended for these visions to be real or not, but they certainly represent psychological realities for Macbeth and Lady Macbeth
Shakespeare could also be suggesting that once a character starts lying – or using violence – to protect themselves, it only ends up in a cycle of more deceit or violence