Why not? We do exactly that. We prototype in mongo and then migrate to postgres when we're comfortable with where the app is headed.