Gun vs fire, fire usually wins. As mentioned, it does depend on too many thing for a general yes or no. Stock burned off is one of the factors that says no. Charred stock is a maybe, likely an "It's ok."
"...guns fired until they got hot enough to set wood on fire..." Two 20 rounds mags, rapid, out of a C1A1 had the wooden forestock smouldering every time.