Ovarian cysts

Is it possible to fall pregnant with an ovarian cyst.. possibly 5cm?