edit a style to add images to a style?

I’m wondering if it is possible to edit a style like the one shown below and replace the black lines with an SVG image that repeats just as the lines do.

enter image description here

enter image description here

any help much appreciated.