Excellent question. Yes, sentences with the infinitive are also acceptable. I found these examples for you from famous grammar books: (1) It is of no use for you to say anything.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.