Also ADHD here. I find smoking a little helps significantly with turning off the distractions of Slack, email, reading interesting docs that cross my path. It's much easier to sit down, crank out a coding task, or jump into a deep debugging session.
Not something I do often (or even occasionally), but I definitely don't think it's nonsense.