I just checked, apparently in Continental Europe there are many lodges which don’t have strict spiritual requirements following France’s whole “fuck the clergy and also religion” in the 19th century.
English-speaking lodges apparently tend to require belief in a “Supreme being” (and also forbid women from participating because why not at this point), but who knows; lodges are independent organizations and some of them can have different rules or turn a blind-eye, there’s no “pope of freemasonry” to set any rules.
In 2018, guidance was released by the United Grand Lodge of England stating that, in regard to transgender women, “A Freemason who after initiation ceases to be a man does not cease to be a Freemason”. The guidance also states that transgender men are allowed to apply to become Freemasons.