I had food poisoning once and doctors in the ER gave me anti vomiting / anti nausea meds.
I would think that the risk of vomiting and diarrhea that often accompanies food poisoning would outweigh the risk of giving those meds.
Keep in mind most causes of food borne illness are Norovirus, E-coli, Salmonella. Once those get in your system the body will take care of it.
If the food poisoning is caused by something else such as maybe a reaction to the food itself, then maybe giving the meds would be bad.
I'm BLS so I can't give these but when I had food poisoning I was given the meds plus an IV drip to keep me hydrated. When the ER discharged me I was also given a prescription for some anti nausea meds.
Hope this helped.