No, not pencils made of foam... Woodland Scenics makes a "grease" pencil for marking on foam.
These look to be a waxy or grease substance, similar to the peel-off twist paper wrapped grease pencils. But those have fat tips. Woodland scenic stuck that greasy gunk in a wooden pencil
Tried them...