Yes, this is key to the entire premise of the book series in all its iterations. Seldon's psychohistory is able to predict the movements of people in aggregate, with the obvious allegory being the uncertainty principle. In the later novels - many the interesting problems the foundation run into arise from the failure of Seldon's model to account for changes in underlying humanity (e.g.: the psychic abilities of the Mule). Of course we also learn Seldon's predictions are being 'helped along' from behind the scenes by the Second Foundation. Which brings to mind some of Jaron Lanier's critiques of A.I., as dependent on human curated, reinforced and updated datasets.