You are weighing ankle replacement, and the real question is whether your ankle suits the operation. Nobody can answer that from a symptom list alone.
The short answer
A good candidate is someone a foot and ankle surgeon has examined and judged suitable. One exclusion is stated plainly: HSS says patients with an active infection are not candidates for ankle replacement and are best treated with a fusion.
That single rule shows how this decision works. Replacement is chosen against other options, and your own findings decide which option stays on the table.
Why this is a planned decision
Ankle replacement is not something you settle in an urgent visit. AAOS OrthoInfo says that although total ankle replacement is not as common as total hip or total knee replacement, advances in implant design have made it a viable option for many people.
Viable for many people is not the same as right for you. Treat the procedure as one choice among several, and expect a surgeon to compare it with the alternatives.
Questions that rule replacement in or out
Write down where the ankle hurts, how long it has been going on, and what you have already tried. Ask the surgeon directly whether replacement or another approach fits your ankle, and what would rule replacement out.
For background before that visit, read the AAOS overview of arthritis of the foot and ankle, Cleveland Clinic's page on total ankle replacement, and Cleveland Clinic's guide to foot and ankle arthritis.
A calm last word
Do not let a brochure promise you a verdict. Candidacy is an exam finding, and the useful move is to get the ankle examined and ask what rules you in or out.