In a sense that your employer needs to file a Labor certification application, determine the prevailing wage and ultimately USCIS granting your petition. It takes a while to get it all done.
H1B presents some friction in switching jobs, but to call it "difficult", especially in current market conditions, is vastly overselling it.