My guess more likely lithium battery fire. This was the damage to my mate JB's special , just caught in time before the whole garage went up.
It was inside on charge. The AT has most of it's loom, fuel pump & and cdi in that area. Luckily in his case the fuel tank and seat were removed at the time !