'that' clause as a subject
What that sentence used, and what you are looking for is called -
That clause using extrapositioning.
Extraposition and End Weight
- "In the following example, the subject (in bold) has been extraposed: It is likely that you will also become interested in filmmaking. The subject of the sentence is the that-clause, but placing this element first (in order to maintain the canonical SVC [Subject-Verb-Complement] order of clause elements in a declarative) results in a sentence which is quite difficult to process: That you will also become interested in film making is likely. Therefore, the lengthy clausal subject is placed after the complement (likely) and the empty subject position is filled with dummy it."
and as everyone had already stated its grammatically sound, but contextually weird.