I assume such a feature would require updates to wayland and or portals protocol.
Would it be possible to essentially have a user defined list of applications that cannot be shared/recorded/screenshotted etc and on top of them a filter was placed or the application window was completely invisible?
Why not just move the apps you don’t want to share to a separate virtual desktop where they can’t be seen? Or don’t share the whole screen, just share the windows you want shared?