Sure but you can do it easier and with more control with any other type of brake,from the basic V-style rim brakes to hydraulic disc brakes.
Coaster brakes didn't tend to noticably drag and were easy to lock up.
When I got access to v-brakes, yeah you can lock those up no problem... Lots of fun. A little tricky to learn modulation with when you're coming from older style rim brakes though.