You might want to look into shared dreaming, if it is real then it is totally possible that yall communicated through a dream.

I suggest trying to learn for yourself if it was true, if you and your boyfriend started practicing lucid dreaming then moved onto shared dreaming you could prove for yourself that it is real.

There is no proof that shared dreaming exists, but science doesn't know everything so give it a try.

Our opinions don't really matter, people either believe in shared dreaming or don't, so it is more important that you chose what you want to believe