No. Swellow (Normal/Flying) cannot learn Zap Cannon in Pokémon Sapphire (or any main series game).
Zap Cannon is an Electric-type move distributed almost exclusively to Electric-types (e.g., Magnemite, Voltorb, Pikachu lines) and a few mechanical Pokémon (Magneton, Magnezone). Swellow's movepool focuses on Normal/Flying attacks (Wing Attack, Aerial Ace, Facade, Brave Bird).
Check Swellow's learnset via in-game summary or databases like Serebii/Bulbapedia for its actual available moves.