Question about flu spread

Can you catch the flu if someone coughs on your food and you eat it?

If the person who coughed on your food had the flu, then yes you could catch the flu.
That wouldn’t be an ideal transmission route, but it is possible.