If you were aware you were asleep, then yes! Otherwise the dream just increased in vividness, for whatever reason.