Dealing with students who are overly motivated
I don't think this is really a CS problem - though of course some individuals do get "addicted" to computing.

The root of the problem is that these students don't know how to study - and ironically, it's quite likely that the education system they are progressing through has never even tried to teach them that basic skill. But you don't have time to teach them that, and teach the contents of your CS course as well.

Students who have found everything "easy" since the start of their education are often the worst sufferers - eventually they hit the brick wall where just listening to the teacher and "getting it" with no effort doesn't work any more, and then they are completely lost.

The best solution would be to try to get a general "how to study" course into the curriculum for every student - or at the least, start your course by giving them some guidelines (including notes to refer back to!) on the study strategies that work, and those that don't.

But you can only lead the horse to the water - as somebody once said, "Homo sapiens has a fundamental design defect: most members of the species can learn, but none of them can be taught."