Of course it's illegal. But if you're going to go this far to cheat, why not just pick up your ball and drop it on the freakin' fairway? There's way less evidence of your douchebaggery and besides, who grabs their driver when hitting out of the rough? Bit of a giveaway.