For example,
For us to have been invited to the party prompts in us an inordinate pride.

Does it equal to 'To have been invited to the party prompts in us an inordinate pride.' in meaning?
I mean is it possible that the structure would be used as the subject or is it used like this never?