is it possible to train your mind to recognize when you are dreaming so well that DILDs will no longer just become a random event?

Anyone already done this?