Yes you can!
I've not done it myself...but there are those who have and some who are currently pregnant and doing it.
There's a girl in my class who does and she's doing so well. Lost over a stone since she got pregnant - more than she lost before!
You need to tell your midwife just to check it's ok but SW is the plan that is recommended!