Locally, yes, like the Japanese shogunate blocking the outside world for more than two hundred years.
Globally, it is unrealistic.