Yes, though I think your first example focuses more on the action of "hanging", whereas the second states the position in which the mirrors should be ("hanging on the wall"), at least that's how I see it.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.