Yes. I'd argue that ADHD/ autism levels have remained the same through time, we just have more diagnosis as those with ADHD/ on autistic spectrum are struggling in modern society.
Up until recently in terms of our society a lot of ADHD and autism traits would be useful and a lot of the regulation techniques that those with ADHD and autism use would naturally fit into general life.
Up until recently we didn't have lots of computers and other appliances whiring and clicking in the background. Until fairly recently in human evolution we didn't have electric lighting which can be overstimulating. A lot of time was spent outside in much lower stimulating environments. Life was much more physical - most jobs had aspects of manual labour which naturally provides heavy work which calms sensory overstimulation. Most jobs involved lots of repetition and were rather predictable everyday e.g. farm work (get up, feed animals back from breakfast, ploughing or sowing or harvest, lunch, continue ploughing/ sowing/ harvest , dinner, animals to bed ect). Pace of life was slower.
The current school system isn't great, there is a lot of sitting and writing involved with very minimal playtimes. Even back in the late 80s lunchtimes were at least an hour if not 2, teachers had a mandated 20 minute morning break and there was also often a 20 minute afternoon break. Usually to accommodate lots of teachers who smoked. All in all your looking at closer to 2 or 2 and a half hours of break time - outside running around in the school day. Same with PE. It was usually much more physical and lasted around 2 hours instead of the 50 minutes now.
A lot of expendable energy is great if you are ploughing fields/ engaging in manual labour for 10+ hours a day. Hyper focus is great if you are doing repetitive labour. Extensive obsessive knowledge at deep dive levels is useful if you know about animals/ seeds/ plants/ pollinators ect in a time without the internet. Pattern recognition is an asset when farming to recognise when something is going wrong before a crop failure.