Is it possible???

I’ve started a weight loss journey within the last month but also TTC. Is it possible to still be able to lose weight during pregnancy but not harm the baby? I want to still be able to continue my weight loss during my pregnancy and hope to not gain as much weight as I’ve done in the past.