D.K.
It's normal and she will outgrow it no matter what you do. They throw for different reasons - they are learning about gravity and how objects behave. They do not yet have enough words to verbally express frustration. It becomes a game - 'look at mommy's face when I throw something, what fun'. When DS started throwing food, we told him he must be done eating and took the food away for a moment. If he seemed hungry, we gave him back a small amount at a time. For throwing other things, we said 'we don't throw x', and then gave him something else to do (distraction). Or - 'we throw the toy outside, not inside - let's go outside and throw now'
I have seen no evidence that toddlers who are punished for this normal behavior discontinue it any sooner than children who are simply distracted with another acceptable behavior.
You certainly can hit her. She will learn not to throw food when you are watching her. She will also learn that hitting is a good way to get what you want and that it's ok for big people to hit little people and that the people you most love in the world hit you.