Is it safe to use condoms while pregnant?

Yes. Esp. Important if trying to prevent exposure to a sexual transmitted disease.
Yes. Yes, although using condoms for contraception would be unnecessary, it would be perfectly safe to use while you are pregnant.