AFAIK this is not the mainstream understanding (to say the least). A source better than a medium post would be useful.
“.. older representations from Syria and India of sticks and animals looking like serpents or worms are interpreted by some as a direct representation of traditional treatment of dracunculiasis, the Guinea worm disease.“