Yes, food that contains larger amounts of sugar can be added in small quantities - about 1/4 cup or less! Cake, donuts, and other dessert items are examples of these items.
That said, we do not recommend adding confectionary items (gummies, hard candy, taffy, liquorice, etc)
We recommend mixing them with low sugar items like veggie scraps, plant debris or grains.