Yes, you can. According to the CDC faq section, if you are pregnant, you may choose to be vaccinated when it’s available to you. There is currently no evidence that antibodies formed from COVID-19 vaccination cause any problem with pregnancy, including the development of the placenta.
People who are trying to become pregnant now or who plan to try in the future may receive the COVID-19 vaccine when it becomes available to them. There is no evidence that fertility problems are a side effect of any vaccine, including COVID-19 vaccines. There is no routine recommendation for taking a pregnancy test before you get a COVID-19 vaccine.
If you have questions about getting vaccinated, talking with a healthcare provider may might help you make an informed decision. Learn more at vaccination considerations for people who are pregnant or breastfeeding.