Art thou pale for weariness
Of climbing Heaven, and gazing on the earth,
Wandering companionless
Among the stars that have a different birth,--
...
Read full text
Yes, I am almost sure about this poem referring to Shelley himself too. In fact, these lines appear on 'Portrait of the Artist as a Young Man' by Joyce as you may recall. And as we all know, the character Stephen Dedalus, the one thinking on the lines, has that kind of personality you have mentioned. No need, of course, to quit thinking on the moon when reading the lines. :)
I have found great inspiration from Shelley's poetry because of the beautifully vivid language he has used. He is well worth reading