The effects of digital Cognitive Behavior Therapy for insomnia (dCBT-i) on sleep quality have been previously demonstrated but the spillover effects on fatigue, flow (a state of immersion in activities of interest), and cognitive flexibility remain unclear. The current study examined the effectiveness of dCBT-i. A total of 97 college students (20.96 ± 1.87 years, 73.1% female students) were randomly selected from a shortlist and divided into sleep intervention (n = 39), conventional education (n = 37), and healthy control (n = 21) groups. Task switching paradigm, Fatigue Severity Scale (FSS), Flow Experience Scale (FES), and the Chinese version of the Pittsburgh Sleep Quality Index (CPSQI) were measured pre- and post-intervention. Results show that the sleep quality of the intervention group improved, and fatigue was relieved. Participants in the sleep intervention group had increased flow experience scores post-intervention and improved cognitive flexibility. The control group’s sleep quality deteriorated and fatigue level increased. dCBT-i can not only achieve a significant improvement in sleep quality and reduce fatigue, but also improve learning abilities, quality of life, flow, and cognitive flexibility. Future research should pay attention to indicators such as work efficiency, sedative use, and the durability and stability of such effects.