The answer to this depends on the specific foam pillow. Some foam pillows are made with materials that are resistant to harsh detergents, so hand washing them may not be harmful. If you do decide to hand wash a foam pillow, be sure to follow the manufacturer’s instructions carefully and be gentle if doing so yourself.