Can I write an automation to reload/restart an integration?

Actually post #37 of that thread shows an example for reloading integrations via the HA rest api. In this case the Ikea Tradfri integration. It’s not very elegant, but it should work with any other integration as well.