No, there is no such thing as a "bad egg" in Pokémon games that can freeze your game. This is a myth or rumor with no evidence. Catching a trainer's Pokémon (which is normally impossible without cheating devices) does not produce a bad egg or cause the game to freeze.