Hip replacement surgery is in good shape these days. Especially if it is elective, meaning that there is no trauma like a broken hip.
My Mom broke her hip and had huge issues, including three surgeries.
My Uncle just had his replaced, like you, without an initial trauma, and he was back up and going very briefly.
Whatever you do, be sure to do all of the PT, and be serious about it. It is the difference between you recovering or not.