You don't have to have a MEP class rating before doing your IRT but you must have completed the training for it. Graduates from some integrated courses used to end up with a ME IR and an SEP rating only in their licence.
I guess in theory you could do the ME Class Rating and IR on the same trip but you'd be putting yourself under a lot of pressure.