Making an infinitive a substantive?

I know about the articular infinitive. But does AG grammar allow an infinitive to be substantivised by a modifying demonstrative.?

I have been tempted to read some infinitives in this way, but I don’t know the grammar well enough to answer the question.

I don’t think so… possibly what you’re seeing are epexygetical infinitives? Maybe offer an example so we can look see?

Right, you need the neuter article to substantivize an infinitive. (Epexegetic infinitives are simply infinitives used in a particular way—epexegetically!—to fill out the sense.) That said, there’s sometimes little practical difference between use with article and use without, e.g. between το ευ πραττειν αγαθον (“doing well is good”) and ευ πραττειν αγαθον (“it’s good to do well”).

Many thanks to Michael and ducky123. That will save me from that rabbit-hole.

When struggling with a difficult sentence, I’m prone to, as they say of AI sites, “hallucinating” a solution.