I doubt it. Margaret wasn't an untrained warlock, she has had a full apprenticeship (is that a word?) She has foreknowledge of the laws, and thus no excuse.
Still, she also played in the gray area, if Luccio is to be believed, and never crossed to the real black magic.