Aqeeqa is a charitable act similar to sadqah, and according to a hadith from Jafar al-Sadiq (RA), performing aqeeqa alleviates many hardships in a child’s life.
Short answer: Wearing wigs is typically prohibited in Islam, especially for beauty purposes, but it is allowed when used to remove defects such as hair loss from illness or accidents.