Styrofoam actually is recyclable, though you'd have to check with your local municipality to see if it's accepted. For example, it's listed as a "blue bin" item in Toronto: https://www.toronto.ca/services-payments/recycling-organics-...
I THINK those can go in compost, but I'd check your local regulations