Yes of course. Lady Khadija was believing in Allah (SWT) right from the beginning of her life. That is why she was selected to be the mother of the best lady in whole human kind, Fatima (AS). Not only Lady Khadija but also all her fathers, grandfathers, Mont her and grand mothers were believers in Allah and pious persons.
Wassalam.