I would not hesitate to use such a sentence. One may usually use a gerund or gerundive phrase in place of a noun. In fact, with a being verb, you may also use an adjective complement.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.