Currently, It is not possible to start execution of any apps scripts from the published url of Google sheets: /pubhtml
using buttons or otherwise.
However, it is possible to execute scripts in a Google sheet using time driven triggers and have the changes published as per the refresh rate configured.