Drif and JNRobert have done a good job describing the technique. And yes, a mere mortal (painfully mortal) like me can do it. Best to practice in the dirt.
As you hopefully know, if you are not actively braking or actively having the throttle at least cracked open in a turn, you are going to crash. On a dirt bike, you brake early and get on the throttle early. So try getting off the brakes as you enter a turn, give a little throttle as you normally would, and then simply roll the throttle closed and this will induce the front end to slide. You will want to snatch the throttle open again pretty quickly so you don't eat dirt, but as you get more and more comfortable, you can milk the slides to be longer and more lurid.
The technique is pretty much the same on pavement. I have only done it on a supermoto bike, never a sport bike, which I gave up about 10 years ago. You can do it without cracking the throttle and simply by releasing the front brake where you might normally still be trail braking. You have to be pushing hard enough that you might feel you are into the turn too hot.
Using the front end slide to scrub off the excess speed and then using the throttle to right the bike will open your eyes to getting through the corner faster and tidier than you ever imagined. It will also give you a big thrill because you will now be in possession of an over the top, very advanced technique.
For me, it is a very subtle thing and probably all but undetectable from a bystander, but you
will know it when the front starts to slide.
What starts as a panic move to stop a sure crash turns out to be a very useful and effective technique.
I had not done this consistently for a few years on the supermoto track, but this past summer started doing it again, very sparingly. I use it mostly through a third gear (65 MPH) left hander that is slightly more than 90 degrees that needs to be finished tight so that you can straighten out a chicane which follows it.
I practice my supermoto skills in the dirt first.
I have not raced for many years, so the skills I like to learn are purely for cheap thrills and for having them at my disposal should I need them.
I look at track riding as an artistic expression; slides, wheelies, excessive and unnecessary lean angles are all part of that expression.