Legally, it is allowed to file H1B transfer after getting the approval from lottery.
But, these days, we have seen that USCIS issues RFE to prove the H1B status which you are referring to as showing the last 3 pay-stubs.
USCIS is enforcing that you should be in your H1B status for at-least 1 days before filing for H1B transfer.