Yes, there is a risk of developing piles in people of the same family. In most cases, piles occur due to lifestyle. Long sitting jobs, eating less fibre, lack of exercise, prolonged constipation are some of the factors that increase the risk of developing piles.