I’ve never perceived Freemasonry as ‘religion’ or ‘religous-based’. I see it as a philosophy, and a system of thought and ideals geared toward self-improvement/-advancement.
Of course, one could say the same about religions; and as I’ve said before, the Mormon people I’ve met have been of exemplary character, good citizens, good friends and parents.
I just find their architecture appalling ;-)
My father was a Mason. My granddaughters are Mormons (separate sect of the the LDS). Big difference in many, many ways. Looks good from the outside, big problems on on the inside.