I’m on ADHD meds and have been successfully doing IF for a few months. I don’t think this would work.
In regards to weight, ADHD meds are known for their appetite suppression, but they also help our impulse control. So once they wear off, not only will your appetite be back but your impulse control will also be significantly lowered. For me, I would 100% not be able to maintain a fast during this time.
It’s also very common for people with ADHD to seek out dopamine hits through sugary and high-carb foods (crackers, bread, cookies) which is where the binging comes from. So when your meds wear off, it’s likely causing you to seek dopamine hits from food as well as your impulsive control being lowered.
Personally, I found the best way to circumvent this was to provide myself with longer-lasting dopamine by exercising right before my eating window ends, then eating a high-protein meal. Protein is essential. I start my eating window just a little before the meds wear off, which is about 3pm for me.
It might do you some good to do a little research on diet patterns and ADHD, it was very helpful for me. Our brains work a little differently, we need to work with our ADHD instead of against it.