I’ve struggled with this one for awhile. I concluded the answer is “no”, but would love to be proven wrong.
https://community.smartthings.com/t/ge-ceiling-fan-switch-custom-device-type-low-med-high-buttons-w-no-slider/10082/151?u=cal7