Can you get pregnant if you're anemic?

I wanted to know if that would prevent me from having a baby or is there side effects to it?