The real pity is that I have read they’re not safe to eat, at least the ones in the Southwest. What a waste!
They are hunted and eaten in the Southwest. As long as farmers/ranchers use approved poisons like sodium nitrite or warfarin, hunting and eating shouldn't be a problem, but waiting a day or two after bait is removed might be a good idea. I'm not sure how poisoning is managed.
I eat feral hogs all the time in Texas. If I shoot them when it is hot, I leave them for the buzzards. During deer season, you just lay it open down the spine and take out the loins and hams. No need to gut them.
They are safe to eat. But are nasty meat when they get over 200lbs. Need to harvest young ones. Like any game, use precaution when butchering. Being pork, make sure it is properly cooked.