Funny you should mention it. There’s actually an article discussing this narrative from the perspective of ADHD:

thelehrhaus.com/scholarship/the-haunted-yeshivah-abaye-and-the-torah-of-adhd/