Perhaps, but? There are many kinds of intestinal worms. Generally, worms are cured only by specific medications that target the worm, it's metabolism or in other ways cause it to die. A belly full of alcohol perhaps will kill a worm or two if in contact long enough and in high enough concentration but don't take this as a way to treat them. Get seen, get a proper exam and get proper treatment.
Nah. Tough little buggers. They thrive on hostile environments. It takes a lot more than a belly full of whiskey or ...(fill in your choice of favorite alcoholic beverage) to bump them off. Agree with dr. Profitt; get seen, get checked, get treated-the right way.