Can you have antibodies against food poisoning bacteria and so not get sick after eating them?

Unclear question. There are some gastrointestinal diseases to which you form antibodies which may protect you from infection, but the wide assortment of potential causes of "food poisoning" makes it virtually impossible to protect from it at this time. Perhaps in the 22nd century.