Yes, brown rice is good for relieving you from constipation.
References
https://glycemic-index.net/gi/grains/
https://www.healthline.com/nutrition/brown-vs-white-rice#brown-rice
https://www.healthline.com/health/food-nutrition/brown-rice-vs-white-rice