i notice a very direct correlation between my meditation time and dream vividness/lucidity, when i check my meditation app and dream journal.

with meditation you can get to a state of consciousness very similar to dreamless sleep, only much more vivid and fresh. i dont know if this fact has some correlation with lucidity, altough i suspect it makes you more aware of dreamless sleep and, through continuity, of the dream transition.