Yes, cardboard with food stains can also be shredded for compost, especially if the grease content is not excessive. This will add some nutrients to the compost.