H1b Filing for H4 dependent

My spouse is in H4 Visa, She is in India and no port of entries at least once to US. Can she file H1B in US (US consultancy). Spouse will come to US on Apr 2023.
If Yes, can you help with the process/procedure, Thanks in advance.

Once in the US if an employer is filing for H1B and if it is first-time H1B, the employer will apply during the H1B cap-subject filing in March. If selected the employer can file H1B petition with change of status from H4 to H1B.