Imo “backyard eggs” are really small potatoes, especially when like 98% of eggs globally come from factory farms. But even in that case, egg-laying hens are basically bred to suffer. They lay an egg every 1-2 days, compared to like once a month in the wild, which takes a huge amount of energy and nutrients. And we’ve bred them to produce eggs too big for their bodies, so that even when they’re treated really well, the vast majority of hens have bone fractures.
That’s why animal sanctuaries will usually either feed the eggs back to the hens, or give them medication to stop them from laying at all.
Of course, this is on top of the fact that 100% of egg-laying hen breeders, everywhere, kill the males shortly after birth because they can’t lay eggs. See this for more information.
I mean I think bees are harmed in the production of honey, it’s just that most people don’t care about bee welfare. Commercially they’re bred by crushing the male to extract semen, and any operation above hobby scale will clip the wings of the queen so that the hive can’t escape.
Then you necessarily need to replace their ideal food source with something that is nutritionally much worse for them (basically sugar water), and then hope that they survive on that long enough to make more honey for us to take.