Oh yes, there's a tonne of literature on it. The trick it to have some way to let yourself know you are dreaming. I read awhile ago about people wearing a sort of goggles and are aware that at a certain point when they are dreaming, a unique pattern will be displayed to indicate they are dreaming and allows them to have a conscious memory. Trippy!