Taking CS 61A along with Chem 3B/L over the summer?

Hi! I’m currently finishing my freshman year at UC Berkeley and I’ve been an intended MCB major.
I will have finished Chem 3A/L this semester and was going to take Chem 3B/L with Marsden over the summer.
However after some thinking I’m not sure if I want to continue pre-med which is why I’m planning to minor in CS.
Would it be viable to take Chem 3B/L and CS 61A over the summer? I just need as many opinions as I can get!
(I took AP java my senior year of high school so I know minimal amount of coding but I also had major senioritis so it may not be that impactful)