Can You Learn a Moon Spell in Wizard101?

No. There is no moon spell to learn, and you will not find moon cards in the Bazaar either.

What does exist is Moon Blade and Moon Shield, and those are treasure cards rather than spells from a training point. They combine death, myth, and ice into a single card, which is why they turn up as rewards rather than as something you buy off a vendor.

Long-time high-level players report the same thing: the Bazaar does not stock them. If you want one, farm it or trade with another player who has a spare.