Yes - you need a macrorecorder. Install it then press "start" (or "run" or "go") and it will record whatever you do with the mouse or keyboard until you press "stop" Then when you play back the recording, the computer will automatically redo what you recorded. You can make the recording loop so it repeats the same actions over and over again. Here is one that I use - there are others.
I've heard of people using an emulator to play the game and then using a program like this to record one instance of going through the motions and then playing said motions on repeat to continuously grind through tempest trial.
I seriously considered doing this myself due to my laziness but I concluded that I just have too much to lose for me to try out something that possibly violates the TOS.
I use Samsung's Sidesync and MouseRecorder to do the above.
The clicking pattern is a little tricky but with some adjustment I'm sure you can get the hang of it ;3
It's literally a case of hit record, do the actions, stop recording and then tell it how many times you want to repeat it. You can save macros too so it's a one time setup to record then you just open the file when you want to do it again.
http://www.mouserecorder.com/index.html is what I'm currently using. I've used a few different ones in the past for this and various other things I needed but for right now I like the layout and look of this one so I use it.
Since it also records keystrokes it should work for listing as well.
I couldn't find the application but I did find something which gets the job done (without the typing) for people search for a similar application. Its called mouse recorder