Haram
The Quran says: Do not throw yourselves into destruction with your own hands, and: Do not kill yourselves. Seriously endangering your own body for clicks is therefore not allowed.
Source: Quran 2:195 with Tafsir Ibn Kathir · Quran 4:29 with Tafsir Ibn Kathir