Is it possible for lens to act as a convergent lens in one medium and a divergent lens in another?

Yes, the type of lens changes if it is placed in a medium having a higher refractive index than that of the lens.