Is such a thing doable?

Is such a thing doable?


I want to use a plugin(like draw) or any widget to paint a polygonal
shape in the canvas or as SVG. What I want to do is that, I need to
drag/drop, select this shape as if it were a DOM element. The painted
shape must be made to behave like a DOM element, so that we can use
CSS to provide background-color, borders etc.. etc..
Is such a thing doable, with the current plugins we've got?
The homepage of scriptaculous shows selectable, draggable circles.
http://script.aculo.us
I saw a similar effect in a dojo demo too -
http://turtle.dojotoolkit.org/~dante/dojo.moj.oe/mojo.html
Is something like this present already in jquery. I would love to use
such a widget.
thanks,
sriram.