Is it permissible to get a keratin hair treatment? (As in would it be considered a layer hence a barrier for ghusl)

If it’s planted into skin and becomes part of body then it’s fine