Pop pages off stack after certain page


I have an application that has a Main menu, then a home page (For that section of the main menu) and then there is a multiple step process on that home page. Basically it looks something like this

Main menu --> Home page --> Step 1 --> Step 2 --> Step 3

I was wondering if there was any way to pop Step 1, 2 and 3 once I’ve finished in step three and then go back to the Home Page.

I’ve tried setting the home page as the root but this then removes the Main Menu page off the stack which is not what I’m trying to achieve.