Yes, as long as he is a Swiss citizen.
Indeed, Switzerland has signed several international conventions that allow a Swiss national sentenced abroad, but in one of the countries that has signed the convention, to execute his sentence in Switzerland.
The Convention of 21 March 1983 on the transfer of detained persons comes to mind. Thus, if the Swiss national has been convicted and is detained in one of the signatory countries of this convention, he or she may request to be transferred to Switzerland to serve his or her sentence, provided that certain other conditions are met. The countries that have signed this convention are: Albania, Andorra, Armenia, Australia, Austria, Azerbaijan, Bahamas, Belgium, Bolivia, Bosnia and Herzegovina, Bulgaria, Canada, Chile, Cyprus, Costa Rica, Croatia, Denmark, Faroe Islands, Ecuador, Estonia, Finland, France, Georgia, Germany, Ghana, Greece, Honduras, Hungary, Iceland, India, Ireland, Israel, Italy, Latvia, Lithuania, Luxembourg, Malta, Malta, Poland, Slovenia, Slovakia, Slovenia, Spain, Sweden, Switzerland, Switzerland, the United Kingdom and the United States, Finland, France, Georgia, Ghana, Greece, Honduras, Hungary, Iceland, India, Ireland, Israel, Italy, Japan, Latvia, Liechtenstein, Lithuania, Luxembourg, Northern Macedonia, Malta, Mauritius, Mexico, Moldova, Mongolia, Montenegro, Norway, Panama, the Netherlands, Aruba, Curaçao the Netherlands, Aruba, Curaçao, the Caribbean Part (Bonaire, Sint Eustatius and Saba), Sint, Poland, Portugal, the Czech Republic, Romania, the United Kingdom, Akrotiri and Dhekelia, Anguilla, Bermuda, Gibraltar, the Isle of Man, the Cayman Islands, the Falkland Islands, the Pitcairn Islands (Ducie, Oeno, Henderson and Pitcairn) British Virgin Islands, Montserrat, St. Helena and Dependencies (Ascension and Tristan da Cunha), British Indian Ocean Territory, Russia, San Marino, Holy See, Serbia, Slovakia, Slovenia, Sweden, Tonga, Trinidad and Tobago, Turkey, Ukraine and Venezuela.
Switzerland has also signedother bilateral agreements on the transfer of sentenced persons with the following countries: Barbados, the Republic of Cuba, the Dominican Republic, Kosovo, the Kingdom of Morocco, the Republic of Paraguay and the Republic of Peru. Thus, if the convicted person of Swiss nationality is detained in one of these countries, he or she may also request a transfer to Switzerland.