I love that idea
I am assuming your bosses are women. Most would appreciate the staff's favorite recipes and the work of putting it together.
Maybe some would be willing to also bring said food item in an attractive serving container that could be part of the gift. You wouldn't want to overwhelm them, or the expense of that, times 27 however so I don't know the logistics of that idea. Just thinking as I type.
Another idea I just had is do you know each of their favorite color? If staff contributed an object in that color, to be made into a nice gift basket. They would make an attractive gift with everything in one color. Items could be a T towel, candle, serviettes, post it notes... oh the list could be endless.
(I like doing gift baskets, maybe that's why that came to mind.) Let's hear some other ideas