This is a difficult question to answer as there are so many variable to consider.
Wayne Sleep was dancing with the Royal Ballet three months after his hip replacement! A truly fantastic achievement. (Especially as he was dancing in high heels)
The most important factors you need to consider are: -
The type of surgical approach used - with the latest minimally invasive techniques reportedly needing shorter rehab time.
The type of fixation used - a cemented implant is fixed solidly into place but an uncemented one requires time for your bone to grow into it
Your motivation - how much effort are you going to put into those exercises
Your pre-op fitness levels - the stronger you are the faster you will recover
How much physical effort your work demands. If it involves a lot of walking or lifting then you need to give your body more time to heal and recover.
Complications - any complication setting it will delay your recovery. Hopefully you (like the vast majority of hip replacement patients) won't encounter any.
I started back at work two months post-surgery. I worked shorter hours as I tired very quickly even though my job is totally sedentary.
Good luck with your op and let us know how you get on. Pamela