Also skating on very thin ice when he and Molly sparred mentally..
I don't
think so, but maybe...?
They were working on developing their mental defenses; the only way
to do that is by defending against mental attacks. The "win condition" was a specific mental image, nothing with mental controls or outside impulses.
Now... could a very-subtle mind-mage like Molly have slipped some low-key "extras" in, unnoticed in the face of the larger contest? Likely, to be honest. I suspect that she did not, but I don't think we can be
sure.
The whole practice (of practicing mental defenses (and thus of practicing mental attacks)) was deprecated in the White Council because it can slide so easily into law-breaking, and it can be so difficult to figure out the
intent, when Something Goes Wrong. But then the Captain of the Wardens had her mind kicked out of her own body by a Kemmlerite, and the WC secretary turned out to have been diddling the minds of most/all of the Senior Council & the Wardens... and they suddenly realized their "just say no" policy was so
very head-in-the-sand that it bordered on being suicidal.
I think Harry training Molly was pretty safe... or as much so as such things ever can be.
In particular: I don't think it's going to be the major Lawbreaking that Jim was intending when he said he'd have Harry break all 7 Laws.