When are you taking it? There are a lot of studies that indicate that stimulants HELP sleep.
You should re-evaluate what is happening to you as it is not an ideal situation: it may be possible you have something else instead of ADHD (or together with ADHD) or you maybe taking it too late in the day.
https://aasm.org/journal-sleep-methylphenidate-can-have-slee...