Yes. The USCIS will accept an application if there is a visa number available according to the Visa Bulletin when the Adjustment of Status case is filed. However, the visa numbers can back up making your priority date unavailable and if this occurs your case will remain pending and the USCIS will not be able to adjudicate your case until your priority date is again current.