Yes. But not when it began as a guild in the Middle Ages.
Are you sure it began as a guild in the Middle Ages? Or at least wasn't built upon previous beliefs and mysteries?
Some quotes, from DEMONIC FREEMASONRY: An Organization Within an Organization
-"Freemasonry is based upon the ancient mystery religions of Egypt and Babylon. The All Seeing Eye is sometimes considered the eye of god, that is, Lucifer. Freemasons recognize Satan as a Christian belief. They consider Lucifer as the good guy. Freemasonry is a fraternity within a fraternity. Masons make blood oaths." The all-seeing-eye is traced back to Egypt.
-""Masonry, like all the Religions, all the Mysteries, Hermeticism, and Alchemy, conceals its secrets from all except the Adepts and Sages, or the Elect, and uses false explanations and misinterpretations of its symbols to mislead those who deserve only to be mislead; to conceal the Truth, which it calls light, and draw them away from it." [Morals and Dogma, p. 104-5, 3rd Degree]"
-""There is no dissociation between the One Universal Church, the sacred inner Lodge of all true Masons, and the inner-most circles of the esoteric societies. [Bailey, Externalisation of the Hierarchy, p. 513]
Bailey is saying here that, once you get into the Inner, Invisible part of Freemasonry, there is no distinction possible between this heart of Masonry, the true Universal Church [which we know to be the church of Antichrist], and of the similar inner-most circles of the other secret societies throughout the world."
-""Lucifer represents.. Life.. Thought.. Progress.. Civilization.. Liberty.. Independence.. Lucifer is the Logos.. the Serpent, the Savior." pages 171, 225, 255 (Volume II)"It is Satan who is the God of our planet and the only God." pages 215, 216, 220, 245, 255, 533, (VI)"The Celestial Virgin which thus becomes the Mother of Gods and Devils at one and the same time; for she is the ever-loving beneficent Deity...but in antiquity and reality Lucifer or Luciferius is the name. Lucifer is divine and terrestrial Light, 'the Holy Ghost' and 'Satan' at one and the same time." page 539Helena Petrovna Blavatsky 32° Co-Freemason
The Secret Doctrine"