You can of course take out a plan for repatriation abroad.
The conditions are the same as for the organisation of funerals in your canton, namely that the costs of supplies and funeral director services are guaranteed, as long as the plan has been settled in full at the time of death.
Third party fees will be provisioned at the rate in effect at the time of signing the plan and will be readjusted at the time of death (such as fees for air freight or kilometres if the repatriation is by road, chancellery, consulate, and preservation care).