Spotting

Is it possible to spot the day your period do or the day before and still be pregnant ?