As to your question: I'm female, so what I say is based on a female perspective and female anatomy. When I have dreams where I orgasm I almost always wake up right as I orgasm. However, it is easy to go back to sleep and return to the dream if I don't move. With time and work it is possible to wake yourself up from a dream at any time.