Attach XPS to back of stud framing?
That's how it's done, don't forget to apply chemical tape to the seams and seal the areas around the wall prior to installing it. You won't have another chance with out removing the wall first.