Oh that's probably doable. Introducing something like this is a bit orthogonal to the point above, but yes.
It's not straightforward but probably something that will be considered at some point I reckon when thinking about making union interfaces first class. That will require to track a not nil typestate/predicate in the backend, something like that I guess.