These were features of early Christianity, hermits living in seclusion. Over time the church, or churches, have consolidated control over practices and, therefore, the people. As these are things you largely don't need them (the church) for, they don't want people doing it. For example, folk or herbal medicine being linked to witchcraft.
However, these are not incompatible with any religion, in my opinion.