The goal ( subject )
is to study hard. ( predicate )
to study ( infinitive clause )
we can permutate this sentence :
To study hard is the goal . ( no change in meaning )
To study functions as a subject here .
Yes, predicate nominatives act like that.