Yes. Since one has an intention to kill the animal while raising them, they do suffer the consequences of the negative Karma attached to killing that animal. On the other hand, if you are raising animals and not sending them to butchers, you don’t suffer the consequences of killing since you are not actually killing those animals. However, if you are taking milk from those animals, you could suffer the consequences of stilling since you don’t have permission from the animal to get their milk.