Ovulation after a miscarriage

Did anyone ovulate straight away after a natural miscarriage? Doctors said period could return 3 weeks after I started bleeding and that would basically mean I could ovulate literally a few days after bleeding has stopped?