While Modafinil can boost wakefulness
https://blogfreely.net/dentunnadf/modafinil-vs-adderall-navigating-adhd-treatment-choices
While Modafinil can improve wakefulness, it does not replace the requirement for appropriate rest and maintaining a healthy and balanced way of life