is it OK to replace higher ampere TRIAC for a washing machine?
No, you can't because the BT138X-800 has an isolated tab. The BT139-800E has not.
The BT138X-800 is also selected as less sensitive by purpose, to prevent misfiring in a high electrical noise environment.