Yes, as long as they respect the local norms and traditions, foreigners are generally welcome to witness and participate in religious rituals and ceremonies. Except Hindus, others are not allowed to go inside the main shrine.