It's not likely you usually only get pregnant during ovulation.. Unless you ovulated twice this month then it's possible but I highly doubt it
Yes, definitely one can get pregnant even a day before your periods. There are not hard and fast rule as to when woman can get pregnant. However, you are most likely to get pregnant during your ovulation period.
In fact once you are pregnant, you get implantation bleeding around the time your period is due. So it is pretty okey to get pregnant a day before your periods.