It's pretty common these days. But I'd be concerned if your boyfriend decided to leave you before the baby was born or soon after. And I think a child needs a daddy who is there for it. Together for 4 years? Why aren't you married by now?
And who would look after the baby? Do you have a strong support network?