A note on the quote, "Do as thou wilt shall be the whole of the law." It is from the religion of Thelema, a kind of neopaganism based on an Egyptian pantheon created by Aleister Crowley. Although Mr. Crowley loved being villainized by Christians, he didnt even believe in hell or Satan. According to Crowley, every individual has a True Will (the will of a spiritual self), to be distinguished from the ordinary wants and desires of the ego. The True Will is essentially one's "calling" or "purpose" in life. So that phrase is opposite Objectivism because it is serving the higher will, not the ego.
Do as thou wilt also recognizes the requirement of not infringing on the will of others and to recognize that the True Will is a collective will. Your Duty to Others according to Thelema: An admonishment to eliminate the illusion of separateness between oneself and all others, to fight when necessary, to avoid interfering with the Wills of others, to enlighten others when needed, and to worship the divine nature of all other beings. Not at all Randian.
Even though some satanists groups repackaged the quote for selfish purposes, and it that sense is similar to Objectivism, it was meant to indicate serving your higher will was all that was necessary and because that higher will values the collective will, then it cannot by its nature dominate others.