Under certain assumptions, it is possible for eating animal products to be morally better than eating vegan food. In particular, you would have to believe that positive impacts on the animal's life outweigh the negative aspects, also outperform the net effect of wildlife that would have been on that land no longer being there, and the sustainability impact. I've explored this in this blog post, and I suggest in that post that it is possible for eating meat to be the better option, but it probably isn't: https://interestingthingsiveread.blogspot.com/2018/12/veganism-may-be-net-negative-but-we.html
Comments
I believe kbog's combined model is one of the best attempts yet to analyze the impacts of animal production consumption. You can view his original post announcing the model here, and his most up-to-date version of the model here.