Applying for H1B and H4 at same time

I am currently on F1 CPT Status. My H1B has been picked in Lottery Cap 2021.

I recently got married,. Can I also File H4 in Parallel with H1,

Regards