i'd think that in the original games, this would be hard to do. but from gen 5 onwards (or at least gen 6), this shoul be very possible. my guess is that if you accidentally defeat a legendary, you'll want to rebattle E4 in order to reset the event. but if champ isn't there anymore, who are you supposed to battle to do that?