Can a protection be replaced with a static analysis tool?

No. These are different tools; they serve different purposes. In fact, using both can be synergistic.

Static analysis: Is a tool to find and remove bugs. Bugs are a known way for a hacker to enter an application. But not all bugs will be found, and, there are as well other ways to attack an application.

Tamper-proofing: Will not eliminate bugs, but the application (together with its bugs) will be protected. Furthermore: bugs will be harder to find.