Yes, if you are already in the UK on a different visa, you may be able to switch to a Spouse Visa without leaving the country, provided you meet the eligibility requirements.