Yepyepyep. I’ve had this too.
I had a very realistic dream where Gomez (my cat) came home. In real life, he disappeared some years ago and I never found him.
But in my dream I was deliriously happy that he came back. When I woke up I was completely shattered. I almost hated that dream, it was like losing him all over again.