No, you cannot breed Legendary Pokémon in any mainline Pokémon game without using cheats or external devices. Legendary Pokémon are unique, single-instance creatures that do not belong to any Egg Group, making them biologically incapable of producing eggs through the game's standard breeding mechanics.
Third-party tools or game glitches may allow it, but these violate terms of service, risk save corruption, and can lead to online bans.
Instead, focus on breeding for competitive play: perfect IVs, desired Abilities, Egg Moves, and the Masuda Method for Shinies. These mechanics offer deep, rewarding gameplay within the intended rules.