Probably not, though fans have speculated about it for years.
The theory comes from Amy repeatedly mistaking Shadow and Silver for Sonic. All three are similar in build and colour scheme from a distance, and the mix-up happens often enough that some players read it as a sight problem.
The alternative explanation is colour vision. Distinguishing black-and-red from silver-and-white in poor light is not trivial, and that would produce the same on-screen confusion without any need for lenses.
Neither has been confirmed. Sega has never addressed it, so both readings remain fan interpretation. Amy is never depicted wearing glasses in any game or official artwork, which is the strongest evidence against.
It is a good example of how a running gag in a series can generate a theory that outlives any intention behind it.