My electronics knowledge is extremely rusty; but don't capacitors discharge all at once? Every so often I see another article about using capacitors as batteries, but I've never seen one that addresses the discharge issue.
And that's just a passive circuit, with an active circuit you have a lot more options.
Note: I studied maths and computing so I could very well be wrong. I would appreciate being set straight by elec eng majors!