Yes, Here are my interpretations of your meanings.. 1. I worked hard in order to fail.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
lucas21c1. I worked hard to fail. 2. She married him happily to divorce him.In these two I believe you are trying to create an infinitive of result, and in many cases (These are two of them) you have to add "only" to make it work so that a native speaker will understand your meaning. A comma also helps.
lucas21cI am sorry that there is a typo in #3. It should have been "He lived to see his great grandchildren." (though it may not influence whether you can understand the sentence).That's OK. The principle is the same regarding the use of the infinitive, which you were mostly interested in.
lucas21c#3 is okay and understandable though