It is best not to eat it raw, because pig lungs contain a lot of bacteria and parasites. Dogs can't eat it well, but they can if cooked.
Nothing is good, meat has no effect on dogs, but it is recommended to cook it at high temperature before giving it to dogs to prevent bacteria or parasites.