Yea that is what most people do with their perks.
Knowing which stats are important for your class and what they do (see Archives list above) is needed however if you want to take potions for higher content and not necessarily a full set of them (str, int, vit, crit). On your gear and weapon you just wanna max everything.
For potions my personal priority list would look like this:
Warrior, Paladin: Vit, Str, Crit, Int
Edit: Vit, Crit, Int, Str is eventually a better order, specially for warriors, see discussion below (I don’t play tank classes, so I rely on others).
Scoundrel, Ranger: Str, Crit, Int, Vit
Musketeer, Bard: Int, Crit, Str, Vit
Runemage, Shaman: Int, Crit, Str, Vit
Since there’s also crit heals, crit is useful for every class. Vit I put last for dmg and healers, however, if you are bad in jumping out of ranged mob attacks and AoEs you might sometimes survive with more Vitality (or hold out longer till the healer gets you up), even on high shards, so it’s also useful for every class.
If you get gear drops from dungeons, purples are better than blues, because they got 2 secondary stats on them. Other than that the higher armor or dmg/level of gear is, the better.
But keep lower items if the secondary stats (vit, def, str, int) are higher than your current gear. Secondary Stats from blue and purple gear can be infused into gear with higher armor at the infuser npc in the middle of HS.
Here’s also a re-post of what drops where: