I don't know about "random" pieces of foam, but you can always clip and shape "head stuffers" from sheet or block foam and insert it to keep the head shape as you like it.
I've recently just gotten down to making custom head inserts for many of my puppets and it makes a world of difference!
-Gordon