Can you still get fit while pregnant?

In the middle of my fitness journey and I am now pregnant. Can I still workout and maintain my goals while pregnant? I was making so much progress and I don’t want to lose it.