I can do it to a limited degree. If something especially bad happens in a dream, I can sometimes "reset" it like restoring a save in a video game. I don't have full control over the dream - I can't, for example, set up sex scenarios in the dream, but I can reset it and get a better outcome than I got the first time through. So if I'm being bullied or attacked or something, I can reset and avoid that.
How did I acquire this skill? I don't know exactly. Possibly just by thinking about it a lot while awake. I do write down some dreams - particularly vivid ones. And I recommend that to everyone because years later you can go back and remember some wild dream you had forgotten about. Maybe I just thought about dreams so much that some of that carried over into the dream state and I realized in the dream that I was dreaming. And then, the "power" that I got in the dream is related to all the video games I play.