I’m not sure if Game Freak has ever made an official stance on this, and I know that a lot of people will consider the offspring of hacked Pokémon legit. I personally take a pretty hard stance against using hacked parents, although I know I’m in the minority.