No. To become really rich you have to draw a 3rd player into the conflict, and then sell weapons to them as well.

Or just lend money to both parties to fund their war efforts and pay off war debts afterwards.