Stroke "outside"

Hello.

Is there a way to make stroke “outside” of selection?.

And variable width (2 px or more) would be an important feature for me.