That is always the best way to get eggs/birds if you are lucky enough to have breeders with decent birds locally. Unfortunately, if you want decent stock in my area, you have to order them or drive a long distance away to get them.
One time years ago, I bought 12 "White Leghorn pullets" from a local chicken peddler before I realized she was a chicken peddler. I quarantined the chicks and they were healthy at least, but as the chicks grew, I realized that something was way off about these birds. Instead of 12 White Leghorn pullets, I grew out 12 Red Sex-Link looking cockerels (white mixed breed looking birds). Every single one were roosters. Coincidence? No. Bad luck? Not quite. I heard from an inside source that these people order unwanted male cockerel chicks from hatcheries for cents each and resell them for dollars each. Now that people have caught onto a lot of their trickery, they sell the cockerels as "straight run" and toss a couple of pullet chicks into the group of cockerels so it isn't so obvious and the poor unsuspecting people that fall prey to these people just think they have bad luck and their high rate of cockerel chicks is just chance. Sickening.