ADHD may be hereditary, so it's possible.
Contrary to popular belief, ADHD doesn't 'go away' as we grow up. Rather, by the time we grow up, most of us figure out how to compensate for it. If you don't have a hard time remembering stuff, staying on task, or getting your daily work done, I wouldn't worry about the possibility of your own ADHD. if you have it, you've probably figured out how to overcome it, or at least, function well enough in your life. I'd focus more on your sons.
It's hard to diagnose in the very young, because so much ADHD behavior is also common in youngsters without ADHD. Who diagnosed your sons, and at what age? If it was a teacher, well, they see ADHD a lot, and can recognize the symptoms, but they're educators not psychologists. Even your pediatrician isn't the perfect person to make the call. If you haven't already done so, take your boys to see a child psychologist for ADHD screening, just to be sure.
As for school, well, those who have ADHD tend to be more intelligent on average than those who don't; it's the inability to stay focused on stuff that isn't interesting to them that makes school difficult. The added challenge of dyslexia is probably making it harder for them to succeed in school. It's important to remember that your boys aren't being lazy or defiant when they don't get their schoolwork done. It's harder for them to stay focused than it is for other people. Their psychologist can work with them to develop strategies to stay on task, and may recommend medication, which only a licensed physician (M.D. or D.O.) can prescribe.