You can compare Bocchi and K-on based on the fact that both are slice of life animes of cute girls doing cute things with a music element, but aside of that they are shows with different focuses, so it's not really fair to say that one is better than the other.
That's like saying two completely different dishes are comparable just because both have egg in it.