My city collects waste food for composting. There is /no seeds/ rule, likely because whoever uses the compost wants to control what they grow.
I make veg. broth by boiling veg. scraps for ~30—60 min., some of which are loaded with seeds. I’m wondering if the boiling kills the seed, in which case I wouldn’t likely cause problems by tossing the boiled scraps into the city’s compost.
Assuming you’re bringing your stock to a boil before reducing to a simmer, thirty minutes ought to be more than enough time to kill the seeds in your vegetable scraps.