Not likely surgery
In a young person like you it is somewhat unlikely to be the cause of pain. It depends also on how large the hiatal hernia is. Recommend you see a surgeon who is well familiar with this type of surgery to get a more definitive opinion. Ultimately try to not eat too close to goin to bed and chew your food well.