I think it's important to remember that there are actually two processes in the male orgasm, the physical climax and the ejaculation are different and can be separated from each other. Whilst I've never done it, I imagine that training a male to cum on command would first need to include training them to climax without ejaculation, but from there on in it would be similar to training a female.