I don't think I ever saw loose foam in my '92 Mac. I hope it's not critters nesting in there. It's probably deterioration though.
You could inject foam along where the ceiling liner meets the hull liner, but if you ever wanted to snake wiring through after it would be difficult.