drag buffer contents to live track

is there a way to implement drag&drop functionality to copy buffer contents residing in a max4live device to a live track? i’m thinking of something similar of what is possible with ableton’s looper device.
thanks for any pointers.