Of course! Just make sure that the folic acid supplement you are taking has no more than 1mg of folic acid, unless otherwise advised by your doctor. You also can not get too much from foods that naturally contain folate, so taking the supplement is completely safe.
Remember: it is very difficult to get too much folic acid because it is water soluble and your body is always excreting it. With this being said, it is important to know that having too much folic acid can mask a Vitamin B12 deficiency, so speak with your doctor before choosing with dosage of folic acid you should be taking daily with your diet.