-1
There is no clear answer to this question. The answer is not a simple "yes" or "no".
These things are clear and for sure:
It is not allowed to commit suicide in Islam.
It is not allowed to harm innocent people and even their personal belongings during a war.
But, however, at extreme measures...