Hot take -- religion is a Western concept that formed the basis of a strategy for colonialism. The latest Dune movie references this well.
Buddhism as a lived experience is a set of guidelines and practices that direct a way of living. Ask folks from India as well and they will say Hinduism is a way of life and that is their "dharma".
The word "dharma" itself is often used as a translation for the religion, however it is closest to duty. And a Hindu will often follow practices from both Hinduism and Buddhism because ultimately they aren't in conflict and religion isn't meant to be identity. If you follow it as such, there is nothing to avoid.