You can sponsor a worker already in the UK on a different visa, provided their visa permits them to switch. You cannot sponsor a worker on a visitor or short-term visa. Your application will be rejected if the person you intend to sponsor leaves the UK before a decision is made on the application.