Yes! A widget's order placement can be modified with .index
For example:
on click do me.index:999 end
This script moves a widget (referring to itself within it's own script as "me") to the top of the widget order when it's clicked.
index:0 places a widget at the bottom of the order, index:999, or any other sufficiently large number, places a widget at the top.
You can put this snippet into an "on drag do" event handler as well.