That's right! If two Pokemon belong to the same group, they can breed.
There is also a Pokemon called Ditto that can breed with every species of Pokemon, no matter what group it belongs to. The eggs will not hatch with any egg moves, but having a ditto is good if you are a breeder.
[video]
There is also a Pokemon called Ditto that can breed with every species of Pokemon, no matter what group it belongs to. The eggs will not hatch with any egg moves, but having a ditto is good if you are a breeder.