Yes!
In fact, taking the prenatal vitamin before becoming pregnant is ideal. Building levels of folic acid in your body helps to reduce the risk of neural tube defects and some studies show that women who take a prenatal vitamin in the months leading up to conception have less nausea and vomiting of pregnancy in the first trimester.
You don’t need anything fancy. A basic prenatal vitamin is more than enough and try to take this for at least three months before conceiving.