Not recommended. If you are pregnant, you'll need to be isolated in an epidemic, so getting uncontaminated stocks of everything you'll need ahead of time might be a good idea.
There will be a small supply of gamma globulin against smallpox to give to special cases that will provide short term passive immunity.
My guess is that pregnant women will be first on the list to receive it, but I wouldn't count on it being available in your area.