Is there an effective homeopathic treatment for varicose vein near the testicles?

NO. There is no scientific validity to homeopathic medicine. See www.Trickortreatment.Com if a varicocele (varicose veins of the scrotum) is symptomatic it is treated by either surgery (ligation and division) or embolization.
Varicocele? It sounds as though your are describing a varicocele, which feels like a bag of worms in your scrotum. Treatment possibilities surgery with use of microscope or laparoscopic varicocelectomy performed by a urologist or embolization performed by an interventional radiologist. There is no homeopathic treatment.