Yes, wet food can help your cat with its hairballs. The moisture in wet cat food helps the hair to pass through its digestive tract. This means less chance to form a hairball. Any chance to increase your cat's water intake is beneficial, whether it be from wet food or plenty of fresh water.