Mechanical strain is part of what caused Samsung to have to spend $5 billion to recall the Galaxy Note 7.
I wouldn't entertain any design that didn't completely, 100%, redundantly, rigidly protect the battery from any kind of forces whatsoever. It's not worth the risk.