If a vegan has a pet chicken, are they still against eating the eggs even if they know there was no animal cruelty involved?

my friend and I were discussing veganism and were thinking that if a vegan had a pet that produced a food source, would they eat it? and if, for example, they have a chicken, could they still be considered vegan if they only ate eggs from their pet chicken specifically. obviously no hate if someone is vegan we don’t actually care what you eat tbh just curious

edit: we seem to have accidentally created an paradox in which we are both right and wrong no matter which option we pick. we also genuinely didn’t mean offence to anyone.

what i’ve deduced is there is a group of people who are in the “vegan is what you eat. period.” and the “vegan is an ethical debate so it depends on how you got the egg/chicken etc.”

we only asked because we thought it was a silly little question and thought “hmmm reddit might have fun with this”