You might be able to use vacuum capacitors for this... But it likely won't be much (if any) better than conventional explosives. Both are ultimately limited by the strength of chemical bonds (compressive strength of the diaelectric?), plus or minus an order of magnitude.
It wouldn't shock me if a graphene flywheel made a modestly better bomb than TNT, though.