The first thing is the NOC from your current sponsor, will you be able to get it...

If the resident permit is not yet stamped in your passport, there are chances that you can transfer your sponsorship to another sponsor (any time), subject to NOC from the current sponsor.