There is no problem in adding the (human and synthetic) hair if it is not covering the head scalp, which prevents water reaching the scalp for ablution or ghusl.
If it is, then it has to be removed for ablution and ghusl.
Also, it is not allowed if it taken from non-eatable animal, if you are going to pray with it.