Not unless you had time for both. I definitely didn't have to spend as much time as my peers on Comp Sci homework, and had plenty of time left over for my own pursuits.
The great programmers I respect easily got CS degrees without working too hard; you show up and submit your tests/projects using your self-acquired knowledge. You should also have a natural curiosity for the subject matter. I think this is why Google's strict GPA policies work for them.
If you're an undergrad then your full-time job is to get your degree. If not, then you probably shouldn't have gone to college in the first place... Why take on all that debt if you aren't going to take it seriously?
Or you could be me and work close to full time the entire time you are in university so you aren't in ridiculous debt when you leave.
(that being said, I would have done much much better in my undergrad if I hadn't of done that)
I chose courses that interested and challenged me. I had semesters that were nothing but computer science, math and physics. Between implementing a compiler, figuring out how to display a polygonal topographical map and learning the life cycle of stars, I didn't have time for side projects.
I submit that if your side projects interest you more than your studies, then you are in the wrong place.