Yes, in moderation, or no for 100+ foods: bananas, citrus, apples, coffee, bread, onions. See what composting worms eat, what to avoid, and how much to feed.
Visit https://wormspire.com/blog/what-do-composting-worms-eat