That's debatable. Certainly egg laying is something chickens naturally do and so it would be natural to keep them laying eggs... if only they didn't lay so many. We certainly "fix" dogs and cats before they ever get pregnant, at a young age. We "fix" our human problem but "break" the animal from how they were born. People don't have a problem with that. It's difficult to spay a chicken in the same way though technically possible. I'd be ok with surgery if it was a simple and less-error-prone procedure on a hen.
In some sense we really do fix dogs and cats because they tend to live longer:
https://www.denvervet.com/site/blog/2021/11/02/spay-neuter-live-longer
Dogs and cats live happy healthy lives without reproduction anatomy. Why can't chickens? Why is that unhealthy for them?
Could you imagine if your chickens had an average lifespan of 15 years instead of 5 because they stopped laying eggs?