Certainly, quite often, if there are cases of obesity, in the mother or father, a grandmother or an aunt ... One might think that there is a family genetic predisposition to overweight, as it can be due to the family environment.
But this is not inevitable, it is always possible to lose weight by adapting a diet with sports to create a caloric deficit, but it will be more difficult to succeed because of genetic and environmental constraints.