Put onto pill so I can ovulate when I come off

Has anyone’s doctor done this? I’ve been put on the combined pill for 3 months so that can kickstart my ovulation when I finish these three months and hopefully get pregnant.