It may be possible to keep aircraft flying within an individual state's territory by maintaining them according to local standards. However, being able to demonstrate that they meet international standards at any time in the future is likely to be all but impossible thus rendering those aircraft to be useable only in the territory of the state that 'went local' for the rest of their operational days.
.