I'm sure there is, but I can't think of the name of one specifically "safe for aquariums".
Usually, scratches are buffed out of glass, using some sort of slurry or paste.
I'd guess someone at a local windshield repair business could give you some info.