No, inhumane religious practices do not have a purpose, because they are not true religion. Any religion that harms people is a false religion. Religion is meant to be for people's good. If something is truly harmful, there is no purpose to it. People should reject false religious teachings that suggest hurting each other.
Inhumane religious practices do not serve an outstanding purpose, and, in fact, they tend to be harmful to the well being of humans. It is not just nor purposeful to intentionally harm innocent people for the practice of a radical religion. God created the world for people to live on and to love each other, and committing inhumane acts are not a testament to God's great deeds.