According to a study, children who are given stimulants such as Ritalin develop sleeping problems and difficulty in staying asleep. Ritalin does list sleep problems as a potential side effect.

https://recoverypartnernetwork.com/drug/stimulants/methylphenidate-addiction