I suppose you could intentionally sabotage someone by putting bacon in with the beans, so just avoid mixing expensive bacon in with the cheap beans and I think everyone will be happy?
My guess is dietary sabotage is intentional, even if it takes more money and more effort, as a kind of psychological torture. "The guards will beat you if you don't put bacon bits on your salad because they know you're a vegan" type of thing.
(edited to explain, I ate years of institutional food in school lunches, then the Army, and then at University, pretty much my first quarter century of life, and I assumed its "about the same" in prison. Which is very interestingly, apparently, completely wrong. Prison is apparently more like every inmate gets "the" TV dinner today and there's no sharing/trading allowed.)
In almost all cases in county, the food is already prepared in a plastic container and if you refuse what is offered to you, you do not eat, which means even kosher folks go without for a couple days until the records "catch up."
That's what I did when I spent a week in jail (as a vegetarian). I ate fine, but had I been strictly vegan it may have been a different story.
I'm willing to bet there have been a number of hunger strikes over a lack of kosher of halal foods. It wouldn't surprise me if there have been a few prisoners who have refused to eat animal products behind bars, even when the vegetarian products were not nutritionally sufficient.
I would be highly surprised if there were any sustained hunger strikes over lack of gourmet food.