Yes, worms can eat sweet capsicum (bell peppers): flesh, core and seeds. Hot chili peppers are different. Here is where to draw the line.
Visit https://wormspire.com/foods/can-worms-eat-capsicum