It’s a bummer, but no—block styrofoam, the kind that protects fragile goods and electronics, cannot be recycled. If you have the space, hang onto it for next time you need to mail a breakable birthday present.
Packing peanuts can’t be recycled either, but they can often be rehomed. Check in with local shipping companies—they might welcome your cast-off peanuts!