It's not detrimental, but there are faster ways to learn chess for most out there.
For example, if there's a GM whose style "fits" you, then you'll learn more and faster by studying all of his games systematically by openings, i.e. if he plays a certain variation of the Gruenfeld then you should check all of his games with it (Black and, or White). Furthermore, you should check all the other opening systems he plays and check if some or all are suitable for you as well.
You may ask why "openings". Well, the vast majority of opening systems, no matter if simple or complex, are about carrying out a specific plan or choosing from a variety of specific plans according to the circumstances (typically tactical details and personal tastes). These plans can be fulfilled in the initial moves or deep into the ending, reason why most of us need to check the full games and repeat and repeat, much like an athlete in training, until the game in front of us is clear to us in the form of what is each of the players trying to do and how is the rival opposing.
The difference between studying chess this way and randomly is that when studying the same kind of systems and positions (handled by a GM or a few GMs) the student is building knowledge and understanding on a smaller but solid scale rather than trying to figure it out something he hasn't seen before or isn't that clear for him yet.
At least at the untitled levels of playing strength?
I can imagine even titled players struggling to understand what goes on in the games among the best of the best, but having a title means that you're already a well-rounded player for the most part, with no truly and hopelessly fatal weaknesses in any phase of the game. Even Janowski, who notoriously detested endgames and was fittingly bad at them compared to the real technical marvels like Lasker and Capa, still played not too far from their general level, and would absolutely clean my clock if he came back from the dead right now. I wish I played at least as well as he did.
I like watching top-level games like I like seeing what's considered to be peak performance in any sports discipline whatsoever. I also have super-GMs I root for, as well as some I might even detest. It's all normal, but I don't think I can learn from those games. Does watching them, then, influence my mind badly when it comes to my own games? (I've been around 1800 elsewhere for years now, if it helps to know.)