SVG shapes or closed paths as draggable containment?

SVG shapes or closed paths as draggable containment?


can a non-rectangular (or any for that matter) SVG shape be used as a
draggable containment?
otherwise i'm considering rolling my own.
thanks,
Leon