I know many will jump and stuff but yes it will work. This is the disclaimer ok? Is not recommended because ISO and JIS are different, why is not recommended? because in the long term probably the crank square will get deformed and u have risk for cranking the crank also. After how many years? cant tell you, but that's why i said in the long term.
The other thing is that with one of the combination the crankset will set deeper in the axle, the issue with that is the chain line, but all depends of the length of the axles and what do you want to accomplish.
I know is not the right thing to do to mix stuff be the op asked if it will work ok? and the answer to his question is yes.