Substitute ~ Pain Split ~ Rest

If possible, can the substitute happen second on the first round. (i.e. Noir uses Dark pulse then Misdreavus substitutes)