Is there a way to place the code for the order status page

Is there a way to place the code for the order status page into the account page? And if so, where do I find that code?