The Torah permitted the milk of a kosher animal, and this is not ever min hachai. The milk of a tamei animal is forbidden by Torah law, as the Rambam writes, even for a sick person unless there is danger, though a bitter mixture may be allowed for one whose life is not in danger.