While exhaling you stimulate the parasympathetic nervous system. This is the ‘rest-and-digest’ mode that the body assumes during sleep, so it makes sense that you might get the urge to yawn. This is perfectly fine.
Check out Wim's answer in the video below.
Just hit the play button to watch this short video.