Yes, but not in an unhindered, nose-against the-window way.
And the view at the back is straight into other tall buildings, whereas The Shard is above EVERYTHING.
Hmmmm... The Sky Garden has some advantages over The Shard, but the view isn't one of them. The latter gives proper 360 degree views and is obv much higher.
Also, it might be free but you have to book in advance, so you don't know conditions or if the outdoor terrace will be open.
That's one...