Yes, practice can be used as a command in the way shown in your example. Still, I think the meaning would be a little clear (and sound a little better) if the word "while" were inserted, as in: Practice the pronunciation while looking in the mirror.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.