When it comes to something like that, it could be very difficult to do, but it would be just setting a limit of money per unit, I've seen a lot of modders doing this for the warband and I bet it wouldn't be difficult to do it here.
To be able to equip your troops, or better just customized from existing troops
To be able to equip your troops, or better just customized from existing troops