Skill bar that indicates a percentage

Is it possible to control the width of an object using the dynamic cms panel?

Example: I need to make a skill bar that indicates a percentage.

image

Not that I know of, I think you would have to use custom code.