I'm not sure if arbitrary binaries are supported fully yet, but it's being worked on.
https://github.com/sigstore/cosign
Unless you've got the Sultan of Kinakuta standing by ... this seems like an extraordinarily bad idea