Can I eat snacks that my coworkers think smells bad?
Why do you want to eat these bad-smelling snacks?
They may smell bad but they actually taste quite good.
If the snacks smell then you shouldn't eat it around them. Find a spot where you are alone and eat what you want.
Nah, it's fine I'll just eat it around them, no big deal.
Usually people do not want others to dislike smells they create. It would be best to find better snacks for when you are at work.