Modifying CKEditor toolbar at runtime
I think you will have to do this at the CKEditor level.  See:

https://ckeditor.com/docs/ckeditor4/latest/guide/dev_configuration.html#defining-configuration-in-page

On the Drupal side, this JS could be added by altering the content type edit form to add the JS.