They're still sentient though so to fully maximize the function value, you'd need braindead animals, or better yet, muscle cells formed into common cuts of meat.
I think I read somewhere that blind chickens get less stressed in battery environments, so there's an ethical minefield we could jump into (metaphor intended).