In the wild, probably not alone. But if you have an imprinted max-level Anky against a low-level Rex then for sure. In real life, there's no chance that an Anky would defeat a Rex.