Oh sure, this would work find for what you are thinking about. That's kinda what I had in mind when I first came up with this set of subs. I wanted to be able to "remember" where your spell icons were on the screen, and be able to reset this.
In my bushido script, I use pixel sampling to see the status of the icons. I can sense if the icons move and have the script reset the icon position.