Usually not directly, but ask your own carrier. Friction tends to show up in two places: water damage hidden under an unvented foam roof is harder to assess, and rot caused by a defective install is typically treated as a maintenance or defect issue rather than a sudden loss.
More detail
Most homeowners policies cover sudden, accidental damage and exclude wear, deterioration, and faulty workmanship, and that distinction is what matters with foam. If a storm tears shingles off a foamed Grove City roof and water pours in, it is a storm claim like any other. If sheathing rotted slowly because open-cell was sprayed against a cold Zone 5 deck without a vapor retarder coating, or because foam went on over a leak, that is gradual damage traced to the install. The protection is the same as for resale: photos of a dry, sound deck before spraying, a moisture reading, the product and thickness, and a written warranty. If you are unsure about an existing foamed attic, a moisture meter reading taken through the foam near the ridge and around penetrations is inexpensive and answers the question. Ask your agent whether the carrier wants anything disclosed; having asked is worth a note in your file. See roof deck moisture.