Weight loss & pregnancy under dr supervision?

I have a BMI right at 35. Only 4w2d & have been gradually losing over time for a year now, wondering if anyone has had a doctor give them a calorie budget to maintain or lose weight during pregnancy before?