Dynamic menu items in SwiftUI CommandMenu?

Is it possible to set the isAlternate property on an NSMenuItem in the macOS menubar to implement dynamic menu items in a SwiftUI document-based app which uses CommandMenu to construct the menus?

I have the same question. Did you find an answer? I've tried a few things, but nothing works so far. I'm thinking of going back to AppKit for the main menu.

Dynamic menu items in SwiftUI CommandMenu?
 
 
Q