Eating pumpkin raw – is that allowed?

Eating raw broccoli: healthy or harmful?