No, most of the time not directly. The refraction of the light is slightly different in contact lenses and glasses, and the fact that a lens has no distance to the eye/cornea also gives a slightly different result – the bigger difference the higher the strength.