I believe persons can be misled and think God spoken to them. Now they may be pure delusional or have visions or voices come from the Subconscious and the archetype out of the impersonal unconscious of these archetypes some are gods and even the God Jesus Christ or even Elohim or Jehovah what ever your religious back round the unconscious could use it to communicate but you should see a good transpersonal psychologist and ask him what to do.
But any voice from the unconscious claiming to be God has the power of inflating the Ego and make one feel superior. The best advice is don't get hung up on it and you'll be better off. Thank God Abraham finally came to his sense annnd stop listening to the voice in his head telling him to kill his son. They were pretty barbaric in his day many people sacrificed their children to the gods.