I'm dumb, the custom_attributes setting should include "style" not "padding-left". So that works as expected after all.
However, there is still the issue that the default config for tinymce in 5.2 strips the "style" attribute but some of the default toolbar buttons use that. Should this be made an allowed attribute?