Since going off the pill about 5 months ago, I started spotting for anywhere from 3-6 days before AF. So this month, I started spotting right on cue (10 dpo) for AF to come, same color/amount for a couple of days. I tested the first day just in case and it was BFN. The spotting stopped after a few days, which is unusual for it to stop for more than 2 days and I hadn't gotten my period (although it wasn't due until the next or two). So I tested again and it was BFP.
So yes, you can get pregnant even if you spot before AF. Good luck!