the foam won't hold moisture within itself, but it will trap any condensation caused by the temperature difference between it and the metal because it's not a tight "barrier coat" on the metal like paint is ... it's also flammable, up here insurance folks really don't like foam insulation in RVs
Bill