Invite User quick link (and user management)

The process to deactivate user accounts on our site could use some “simplification.”
My question, is there a way to write a script (add a button to click on user’s admin page or a place to enter user name) to execute:

  1. rename user: add “_inactive” following current username
  2. Turn Trust Level to 0
  3. Suspend user indefinitely
  4. Place user in group: former employees
  5. Deactivate user

Is there any way to do something like this outside of the console?