I can't see why not. As long as you get everything you need. Remember though you will some extra calories a day. Not many more..
When I was pregnant with my first I was on the morning sickness diet. I more or less puked up everything I ate, except for sweets and chips. They weighed me the day I gave birth and I was 10 stone.