Can I loose weight healthily while pregnant

I’m 6 weeks pregnant ... When I was pregnant with my daughter I honestly put on so much weight and only lost half of it from I had her now I’m pregnant again I’m wanting to no can I diet healthily while I’m pregnant also could I do light workouts and so on??