Technically no—it's a strategy, not a cheat. Fighting games have no rule against move repetition. However:
Verdict: Legal but often poor etiquette. High-level play demands variety, conditioning, and adaptation. "Spam" loses to thinking opponents.