Of course it is likely up to Speaker Johnson at the end of the day.
Note his resignation letter for the current term also said he didn't intend to take the oath for the next term either.
But again, probably comes down to how Speaker Johnson wants to interpret things.
Gaetz didn't have many friends in the House, so not sure they'll really want him back.