Almost sounds like a kind of atypical autism, to me, and is, quite literally if not medically, a presentation of attention deficit
. Be that as it may, the fact that you are able to write about it coherently suggests you can focus pretty well when sufficiently motivated to do so.
But let's not get hung up on naming things, here. After all, the names, for the most part, are just mumbo jumbo that tells us what we already know and don't usually tell us what to do about it.