Realistically, just using regular vehicles is better in most situations. Mechs may be better in rough terrain though. And they might be able to operate in a wider range of environments. That's how Gundam and Battletech justify their mechs. Armored vehicles like tanks are just as viable in those settings and can defeat mechs in combat.