Possible??

Has anyone gotten pregnant from sex before their period started and had the period? Like 3 days before period

I’m saying if I ovulate on cycle day 5 can I still get pregnant if I had sex before period started

Cycles are every 29-31 days