Yes, apricots are actually great for iron and fiber, my toddler loves them now! I used to eat a couple of dried ones daily during my pregnancy to help with digestion. Don't worry, they are quite healthy.
Please be very cautious and wash them thoroughly before eating. I was super paranoid about eating fruits like apricot because of my past miscarriage. If you feel hesitant, just eat one or two occasionally, or consult your doctor first.
With my PCOS history, I was always extra careful about what fruits I ate due to sugar levels. Apricots are safe in moderation, but don't eat too many at once. It's always best to start with small quantities and see how your body reacts.
When I was admitted, the clinical nutritionist at my hospital actually recommended dried apricots for natural iron. But it is always best to double-check with your own gynac or hospital dietitian during your next routine visit.
I know how stressful it is to doubt literally everything you put in your mouth, I felt the exact same anxiety. Honestly, apricots are generally considered very safe and good for you in moderate amounts. Just take a deep breath, you are doing fine.