Hepatitis A is contagious and it is possible to get hepatitis A from eating together.
Hepatitis A, also known as viral hepatitis A, is a type of viral hepatitis. It is caused by infection with the hepatitis A virus, which is an acute process after infection.
Hepatitis A is mainly transmitted through the fecal-oral route. The feces of a person with hepatitis A contains a large number of viruses, and water or food contaminated by feces is contagious; the hands of a person with hepatitis A are likely to be contaminated with viruses during feces, and may be infected if you eat together.
Hepatitis A may also be contagious if you consume undercooked nail snails; it may also be contagious if you come into contact with infected water or contaminated food contaminated with the hepatitis A virus.
So it is possible to be infected by eating with someone who has hepatitis A.