I don’t know about any plugin which could do this automatically but there’s at least the plugin Commander with which you can trigger a command (or macro) by clicking on a button/icon (you can place pretty much anywhere)
Offers macros which can include templates together with Obsidian native commands or just commands. This is allows you to execute commands automatically when creating files from templates. Currently configuration of QuickAdd is burried in settings–>plugins but you can use Open Plugin Settings plugin for quicker access. QuickAdd allows you to use templates with robust configuration so you probably want to use this plugin for several use cases.
Edit: macros offer also to open existing files or running conditional commands. Setting up conditional commands is obviously for advanced users.