Yes, it is permissible to use the pigs issue if it's helpful for human and if there is no other way to get the same result from another animal or if the result is not enough.
Read Full Original Text