No, that is not a glitch. Emboar and Scraggy are both in the Field egg group, meaning they can breed. As to whether the eggs will be Tepigs or not, the answer is no. The Pokemon in the eggs is always the same species as the mother, while the father provides any egg moves.