Sample Editor/loop Question

No. This can’t be done with pattern commands.

But, there is a script that might be useful, “Use Midi Knob To Set Loop Markers:”

I’m not sure if this will work with 2.8 though.