Absolutely possible. There are video poker training programs that do what you describe.
If you used it in a (Nevada for sure, probably most others) casino, you will be arrested; they take a very hard line on cheating.
Edit: I was happy with an older version of
this program.