5.3.1: Is there a way to 9-slice a Paper2D sprite in world space (not UI)

I have the following image:

line

I can only find references to UI 9-slice sprites, but I would like to change the width of this sprite at runtime, in the world space, without distorting the corners. Hopefully, I can achieve this along with the collision box for the sprite?