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.
Bell peppers (“paprika” outside the N.America) and butternut squash (I toss the slimy sludge with seeds into the freezer scrap bag which then eventually goes into the veg stock).