Can Sill Gasket Foam Be Used As Anti-Static Foam?
No. Just because it is pink has nothing to do with conductive properties (conductive, static-dissipative, etc.).

You must ask yourself whether your investment in components is worth protecting by using proper storage techniques.  Were the components not delivered in static-protective packaging. At the least you could leave the components in the original shipping materials until use.

At minimum you could use ordinary foam covered with aluminum foil. It is no proper substitute for genuine static-dissipative foam or containers, but it is slightly better than nothing.