I don't know that I would eat anything with worms - not even chocolate covered. But if you really like worms, then a chicken and worm dinner might be for you.
hee hee hee... Seriously though, I probably wouldn't advise it.
I'm sure it is done all the time and people don't know about it. That's one reason to make sure you properly cook a chicken ot any other meat or fish products.
Most worms live somewhere in the chicken's digestive track. You don't normally eat the digestive track. I can personally see where you might be a little hesitant to eat chicken or anything else if you knew they had worms, but if you prepare it properly, it should not hurt you.
If you've ever eaten Grouper, you've eaten worms. They are notoriously wormy. At one restaurant I worked at, the Chef told me he had never seen a grouper without worms.
Considering the lives of CAFO chickens, I'd be relieved if all they had was worms. And remember, in most processed food of any time, there is typically an acceptable level of bugs.