It may not violate the Sleep Clause, as you could use the "no other choice" argument. I suppose it's comparable to getting Encored on Hypnosis, which is already mentioned in the clauses in the first post. And that, for your information, is allowed.
Though on the other hand, there is more of a choice in this case. You could just teach him Spore, after all. =P
Therefore, yeah, I wouldn't consider it fair, really. So I'll make a quick decision and say that it's banned due to Sleep Clause. Though, like all things regarding standard competitive rules, if a higher power(ie. Smogon) deems it legal, I will as well.