🤔Curious Question🤔

I haven went through what I have been told was a chemical pregnancy, this was last month. This month I have been getting period like cramps but no period, it's not due for another 3 days. I am super hungry and I get really bad headaches if I don't eat constantly. The question I am asking myself is if I could of gotten pregnant a day before my period? I had unprotected sex the day before my period due to me being pregnant at that time. I mean is this even possible?