It would be great to use the progress bar in a rectangular shape, even with rounded corners.
You can try adding a custom progress bar and setting its mode to “Repeat Shapes”. You should then be able to set the shape under the Style tab.
you can use rectangle shape with rounded corners over progress bar and clip it