Is the movie The Hills Have Eyes based on a true story?

No. It is based on a real legend, the legend of the Sawney Bean Family. According to the legend, a man called Sawney Bean was the leader of a sort of village of wild, feral cannibals who lived in the Scottish wilderness in the 1700s.

However, most reputable historians today do not believe that Sawney Bean ever existed.