No, you cannot switch to another Visa type while you are in the UK with a visitor Visa, unless you are applying for a marriage or civil partnership Visa. You will need to leave the UK and apply for another Visa type from outside the UK.