If I am to have a cosmetic treatment which does not allow to apply water for 24 hours only. Is it permissible for me to do tayyamum instead?

If Doctor has recommended to you and water is harmful for your heath then yes otherwise no you have to do wudhu.