how can I set the target action of a html form to be my plugin?
You can only put you plugin into a template and set the action to that template.
utilitEEs - Addons for EE
I realize that is possible, but I was looking for a prettier way do to it. But thanks anyways.
The only “prettier” way I can think of would be switching to a module instead of a plugin and use an Action ID.