In music you can craft repetitive exercises to improve small aspects of your skillset, but in computer science you can't do that exactly (or sanely). However, I do find myself directing my study in a similar way. I have various high-level goals and I try to find some way to get at them on a daily basis. I use concrete projects like reading a book, doing exercises, or taking on a hobby project. It feels very similar to practicing music, but I wouldn't call it practicing. It's my practice!