new H1B is in Process and also applied H4 at same time

I have applied H1B visa for my wife and its got selected in lottery but not yet approved( still in progress). now after 5 months of waiting I am applying H4(dependent) for her. is there a risk factor involved in this? once she get approval of her H1B can she able to move from H4 to H1b.

Thanks in advance…

You can apply for her H4, provided her H1 was NOT COS (if it is a COS, she must go for stamping again or apply COS again)