Look up Holon Farmer in the Pokegym Compodium. Yes, you can do as much of the conditions as you can. Unless it specifically states you can't do this without choosing X energies/trainers/Pokémon (i.e. Infernape L. X) you can do whatever. "Up to", I believe, means you have to do three 30s if there are three, and you can't lower the number.