Generally, this is not possible. If there are extenuating circumstances, for example, illness or medical emergency, then you may be granted an extension but you will have to apply to the immigration department in the country you are visiting. If there is no acceptable reason to extend the visa, you will have to return to your country of residence and apply for a new visa.