I guess so, but:
- presumably they have Python 3 installed for a reason, installing Xcode can install Python 3 so uninstalling may be impractical
- Python 2 is EOL and out of support so some path that moves away from it is preferred
- Apple have stated future versions of OSX will not have Python 2
Might still be a good workaround for now.