Can external masturbation for years loosen the vagina?

No. No amount of "external masturbation" can loosen the vagina, assuming the masturbator is masturbating in a normal, gentle manner.