Sure, it could be a hernia. You can get a hernia ( generic term ) virtually anywhere, especially along the abdominal wall. If this pain persists, you need to rule out any internal issues. many organs refer pain the the area that you describe. The pancreas and bladder are the two most frequent in the area you describe. I would probably get that checked first, jsut to rule out anything that is potentially serious