YES we can receive attunements in dreams.
Your friend or ex-friend may be just who and what he appears to be or he might be a dream symbol for you. He might be a higher being taking a familiar form for you to relate to. What does he mean to you? what do feel from him in the dream?
rich