The first thing that I think is worth noting is that there is a deleted scene (an unfinished scene, to be more precise) for The Empire Strikes Back that features the AT-AT piloted by General <PERSON> being destroyed by an errant snowspeeder (in case the time stamp on the video doesn't work, the relevant portion starts at 7:47):
https://youtu.be/jQEiNJnkQAw?t=467
As you can see in the video, the snowspeeder completely obliterated the entire "head" of the AT-AT in that animation. But that was from the speeder crashing directly into it - seemingly by accident - and not by using blasters, which undoubtedly would not deliver as much damage. Obviously, this contradicts what we see in the final cut of the movie, as the unfinished scene seems to show General <PERSON> being killed, and his walker destroyed, before he could fire that fatal blast against the Rebels' shield generator. And Legends material indicate that <PERSON> survived the Battle of Hoth. This is likely why the scene was never in any of the official cuts of the film; and the canonicity of deleted scenes pre-Disney was dependent on whether or not the content of those scenes conflicted with the film, according to the Holocron continuity database. If the respective deleted scenes were not in conflict, then they were considered to be G-Canon. Despite this, this does not mean that the viewport of an AT-AT wasn't a weak spot. We'll have to dig deeper into the lore to determine that.
So, on that note, it's worth pointing out that the viewports of AT-ATs, and other vehicles in the Star Wars universe (at least according to Legends), were made of "transparisteel," a transparent metal alloy that is stronger than normal glass. And, according to Canon, windows made from transparisteel could be made blaster-proof. However, the material is notably weaker than durasteel (the material that the rest of the AT-AT is made of, according to Legends). 963
With that being said, it's entirely possible that it could be another weak spot in the walker's armor; but if so, it seems that it wasn't exploited very much, if ever at all (I could find no examples). It was likely too difficult to hit, and probably almost as ineffective, since the transparisteel was still strong enough to make it effectively blaster-proof (unless the blaster bolts came from heavier artillery, such as other AT-ATs).
Taking all of that into consideration, it makes sense that the viewport could potentially be exploited as a weak spot. But given the fact that this weakness was not exploited in The Empire Strikes Back, and the fact that I could not find any examples outside of the arcade game that you mentioned, I think it's fair to say that it probably was not exploited at all. In addition to that, it's unlikely that any of the characters involved in combat against an AT-AT would be unaware that transparisteel is weaker than durasteel; and the move to attempt to trip the AT-ATs was an act of improvisation on <PERSON>'s part, one that was still difficult to accomplish, and he wasn't even certain if it would work (as indicated here when he gave the order):
<PERSON>: Rogue Group, use your harpoons and tow cables. Go for the legs. It might be our only chance of stopping them. [emphasis added]
TL;DR My best guess as to why they neglected to strike specifically at the viewports in all of their runs would be that there was too great a risk of being shot down (as obtaining a clear and effective shot would require flying in straight at the AT-ATs head on, in full view of the walkers' high-powered cannons), and also an insignificant chance of successfully striking the viewport, let alone landing a sufficiently-damaging blow and taking the walker down that way.
UPDATE: This answer originally stated that General <PERSON> is confirmed to have survived in both Canon and Legends. However, I have since discovered that the moment where the errant snowspeeder piloted by <PERSON> (a.k.a. "<PERSON>") crashed into and decapitated <PERSON>' AT-AT Blizzard One is officially Canon (and featured in the now official novelization published since Disney's purchase of Star Wars). Despite this, it is technically not yet officially confirmed that <PERSON> was killed during this incident, since this only happened in the novelization and not the film itself. 963