I wasn't thinking along of the lines of mitigating it, just the opposite. I was thinking about the thing blowing up due to the intense heat created inside the enclosed space of the frame. Much like you see in flashlights that use very high powered lithium batteries. The ones in ebikes are even more powerful.A frame enclosure won't mitigate issues with a poorly built battery just because it's in the frame. Maybe it'll be less apt to suffer external damage in a crash.