Lose weight while pregnant

If you are overweight is it possible to lose weight while pregnant if you eat a very healthy diet?