New interface to allow ptrace for WINE-based snaps?

I’ve tried to snap a few apps for my organization that are able to run under WINE. They tend to rely on .NET Framework. Invariably I get everything to work in devmode, but confinement blocks the apps from working properly. The blocker I have repeatedly seen is a call to System.Diagnostics.NtProcessManager.GetModuleInfos(), which apparently uses ptrace according to snappy-debug.

So I would love for there to be some kind of interface available that would allow a WINE-based app to handle this and similar ptrace-based calls. Is this even possible? Would anyone else benefit from this?

There has been previous discussion here, but it seems to have been Steam-specific.