There isn't currently any way to do that, but the idea has come up before.
We haven't had time to pursue it, but the idea I like best is to provide a way for a widget author, like yourself, to tell the analysis server about the widgets that should be offered in a "wrap" operation. There are some interesting design challenges that would need to be addressed, such as how much control to give users vs widget authors. It might prove to be too difficult, but I'm hoping we'll have the cycles to look into it after the next release.
In the meantime, a plugin ought to be able to do the same thing, but it likely won't be as easy because you'd be missing a lot of support logic that the analysis server already has.