Yes. Knee replacement is major surgery and hence it is only preferred if all other medications and treatments are not effective.