The Chuch has no control over what people do. The Church can only teach the truth is was given by Christ. What we do with it is ours.
The Church does not teach what some people practice.
Yet some sects don't do a lot to stop it and after a few generations it becomes accepted as the norm by that sect.