yes its a cool trick! sadly those circuits work only with AC. if you put DC in you'd be disappointed with the output
there are DC 'switch cap' converters, they seem to show up in RS232 converters a lot
"I say we take off; nuke the site from orbit. It's the only way to be sure." - Corporal Hicks, in "Aliens"