Halal
The Quran allows purifying yourself with clean earth when there is no water. The Prophet ﷺ said to a man without water: do tayammum with earth, that is enough for you.
Source: Quran 4:43 with Tafsir Ibn Kathir · Quran 5:6 with Tafsir Ibn Kathir · Sahih al-Bukhari 344