There are several foaming products available in cans, look at your local hardware store but be warned the unset foam, as it comes out of the can, is extremely sticky and gooey, (acetone will remove it but also takes off paint) so if you're thinking of wrapping anything up and foaming around it, make sure you do it properly.