Is a slider with multiple handles suitable for defining split points

I'm working on a web app. Now I have to divide a value range into several continuous parts, say, divide 0~100 into four parts: 0~20, 20~40, 40~60, 60~100.

In the simplest way, I can use some text inputs for the values of split points. In the example above, the values would be 20, 40 and 60. However, I have to validate the input values and having several inputs seems not intuitive.

So I prefer a slider with multiple handles like this: enter image description here

I think it more convenient and intuitive.

As far as I see, sliders with one handle or two are common, while sliders with more handles are quite rare. I wonder if such a slider is suitable or are there any better alternatives?