This depends entirely on company policy and how informal your company is.
As mentioned in another Answer, talk to HR first. There might be a reason(s) why you can't do this.
If you are allowed, consider your relationship with your co-workers and the people you manage. Here's a few examples of a decision tree to consider and expand on for yourself.
- They understand their review has nothing to do with the candy.
- You more of a friendly manager that has social relationships outside of work with them.
- The location of the candy wouldn't matter, including it being on your desk.
- They are afraid of disagreeing with you.
- You often imply they need to do things.
- The location matters at all, especially if it's on your desk.
I've worked at companies where people, including the bosses, brought all kinds of things for people to buy into for their kids. Everything from school trips to dance classes to scouts, such as popcorn, magazines, chocolates, frozen treats, fruit, baked goods, and more (all from brand name suppliers, not their own kitchens, if anyone was wondering).
I've also worked where it was strictly forbidden for anyone to bring in products for others to buy. I've also heard of companies where food was prohibited from desks, even water bottles, so chocolate bars for sale wouldn't work their either, presumably even in the break room.