Not that simple. You can't just place your license above someone else's code even if you do not distribute externally, at a minimum you are going to distribute it internally. I'm not sure what legal avenues exist to prohibit this but this does not simply get a pass.
If it's permissively licensed, sure. But not just any license.
If it's permissively licensed, sure. But not just any license.