This is only possible if everyone is Hindu because that is a peaceful religion. The country had survived and prosepered for thousands of years with this system.
It all ended with the invasion of barbarian Muslims and Christians. We are in Kaliyuga and it will only end when these two demonic religions are wiped out.