Can we Transfer h1b to another company while it is Extension state

My H1b has expired and My h1b extn is in progress and it is in RFE. Now I got an offer from another company. Is it possible to transfer my H1b to the new company while my extension is in progress.

If your I-94 has expired then there can be RFE issued for the transfer petition. USCIS will want continuity of your I-94 and H-1 petitions. Currently there is a break as your H-1 extension is pending and so there is no approved I-94 and 797 since their expiration dates.