Yes, Deckard had dreams of the unicorn. That’s an implanted dream.
With the subtle reveal at the end when James Edwards Olmos had left an origami unicorn for Deckard to see. Deckard sees it, pauses, resigns himself to it by nodding yes, then moves on.