No, the bred Pokemon shouldn't ruin your game. The hacked Pokemon may become dangerous I'd you have too many of them so I would suggest getting rid of them once you get the eggs you want/need.
The hatched Pokemon probably shouldn't ruin your game since they're considered legit because you got them by a legit method.
So you should be safe unless you overload your game with hacked Pokemon.
Hope I helped.