If someone with covid sneezes on something and you then eat it then yes you could contract it that way.Of course if your local pizza chef has a habit of sneezing on food then serving it Id advise finding a new pizza restaurant.
Can you contact COVID19 by eating food that has the virus? Let me give you an example. You order a take out pizza and the cook sneezes on the pizza so virus droplets are on the food. Are you able to get the virus by eating it or would you have to get the virus on your hands and then touch your nose/eyes in order to get the virus?