GMIC / Blur only vertical & horizontal lines

I was wondering if there is a way to achieve this effect with GMIC (scripting or plugin) : to blur vertical and horizontal line with a thickness and length as input threshold.

You can find info on blurs here: blur_xy or blur_linear might work in your case.