It is obviously cheating to our sense but in some Japanese people think that if they not emotionally involved and just physical thing it is not not cheating.