The two-year home residency requirement does not prohibit issuance of F-1 visa. That can be tried any time, even before the HRR is completed. Ultimately, F-1 visas are discretionary. But there is no law that prohibits their issuance in these circumstances.
Issuance of an F-1 does NOT waive the HRR. You will stay subject to it.