It wouldn't type-check, since `object` is expected to be a noun and not a verb. :)
This could work in Powershell. The function would have to be written to expect nested recursive calls, to remove the omitted particle.
Construct-Sentence -verb miru -Formal -Past -Topic Taro -Object (
Construct-Sentence -verb kiru -Formal -Present -Topic Noriko -Object doresu
)
"Taro saw (Noriko wears a dress)."
"Taro saw Noriko wear a dress."
"Taro wa (doresu wo kiru Noriko wa(?)) wo mimashita"
"Taro wa doresu wo kiru Noriko wo mimashita"