The entire grid of a nation is usually in phase (with a few exceptions like Japan).
However, you can't just go hook up random connections since the current flows need to be managed. And if one feed dies due to a short somewhere, you don't want to be feeding current into that. Etc.