It doesn't make it impossible for other OSes to run APKs, they just won't pass attestation. You'd likely have to start selling phones that can run APKs and then sue Google for anticompetitive whatever.
You can execute the code that notifies the user that your OS is not supported, sure. But I wouldn't exactly call that support.
You can execute the code that notifies the user that your OS is not supported, sure. But I wouldn't exactly call that support.