It should work. I created a thread earlier this year back in January which concerned about adding new cheat units or other cheat ideas for [Age of Empires 3].
The latest comment that was posted to that thread from another user, which can be seen if you scroll all the way down, has a functional gif that features some kind of spider-like mech.