When i had chickens , I planted a number of "Spagetti Squash" for feed for chickens.
When split open, and fibers separated by a fork , the seeds and spagetti fibers served as a supplmental vegetable feed for the chickens
it kept them in the garden looking for more (spagetti ) 'worms' , seeds , and random insects in the garden.
I never did see the chickens (Rhode Island Reds) do any damage to the crops in the garden, and it kept the insect population down.
Also , their scratching in the garden kept the garden soil level, and prevented new weed growth.