If you can find eggs from birds that are used this way I think that's a fairly ethical thing. Yes the birds are being used but they're also living pretty close to how they would otherwise.
I first heard of this from Joel Salatin, how exactly I stumbled onto that I have no idea. He's an interesting character for sure, but I can't help but have respect for the way he thinks about farming and what he calls honoring the animals.
For every egg-laying chicken out there, a male chicken is slaughtered, and both egg-laying and dairy milking harm the animals (for instance, compare avg. life span of a dairy cow with their natural life-span).
There's also the factor of number of animals killed - One lamb feeds a lot more people than one chicken, yet both are living animals capable of pain and suffering.
That's not to say that either is particularly ethical, but (as a vegan), I don't think you can easily say that eating eggs is intrinsically more ethical than eating meat.
But the point of my comment us not that Lambs are less ethical than chickens...but killing and eating a few week old animal is hardly "more" ethical.
Obviously the debate has a lot to do with your belief in consciousness and ego. Does a lamb have an ego and is it conscious of its own mortality (in the abstract sense)? Does the sheep suffer existential angst? Are these requirements for the industrialised raising and slaughter of animals for food to be unethical?
It seems less cruel for an animal to spend its life standing in a field than for it to be stuck laying eggs its whole life or being milked twice a day for as long as its useful, only to be led to the slaughterhouse. In fact, commercial chickens are the most cruel industry, chickens are so cheap they are treated like a bulk good, rather than like a living animal. Even free range chickens live a shit life.
We talk about treating our servers like cattle, rather than pets. But cattle are actually treated very well, there's a lot of value in a single beast and it's worth looking after them when they're sick. Chickens are so cheap (they cost, what, $7 at the supermarket?) that if they're sick or injured, it's cheaper just to turn them into fertiliser.
Of course, that's just the commercial industry. Home raised laying hens tend to live a comfortable life.