Well, if you're looking for a fast bike that might be able to survive those speeds, and be safe enough to ride at them, and can safely decelerate from those speeds, there's a lot of Stealth Bomber and Fighter threads, and the various "enduro" clones of those, and the like. Complete DIY stuff like John in CR's bikes. Posts by MadRhino.
Those will help tell you what you'll need to do it. Then you can figure out how to either lower those frames to what you want, or to build the frame you want with those things in mind.
But it'll cost you as much as or more than a motorcycle to do it, most likely. Not needing a lot of range brings the cost down some, but probably not all that much since you need performance from the battery pack it may have to be bigger than you need to supply that.
Since it's something you're worried about, it is also much more likely to get you a ticket than the motorcycle would (because it's highly likely that wherever you are located, 20-28mph is the maximum allowed speed for them, and there are probably also power restrictions (though those are much less likely to be enforced as long as speeds are kept below whatever the limit for bicycles is).
If it's just the acceleration you're after, you can get that in a slower bike, if necessary by adding a speed limiter to keep you "under the radar".
My SB Cruiser trike, despite it's weight, can accelerate from 0-20MPH in under 4 seconds. I'm testing a controller now that once it's tuned to the rightside motor, should be able to take a second off of that at least, and is silent in driving the motor. If I had two of those...