Can I get the AI to only flee and not attack?

To get Study Harder! you need to "use elemental spells the targeted enemy has resistance to at least 10 times in one battle", so you may have different solutions changing spell or enemy.

I found a strategy on Gamefaqs:

I got mine by using Eruption on the Dragon in the Earth Temple. It's the only enemy that lasts long enough to get in multiple spells. I also had Raine healing, Zelos (me, with Eruption as a shortcut) making sure the Dragon didn't get too close to my mages, and Lloyd with most of his strong techs turned off so he didn't kill it too fast.