It is possible in Premiere.
Duplicate clip in V2 and draw mask with opacity and track the motion.
Now add ramp effect.
Copy path from opacity into ramp.
Mask expansion set to a negative value (width of the stroke) and invert.
Ramp colors both e.g. red.
———————————————–
Adobe Certified Expert Premiere Pro CC
Adobe Community Professional