India has already done the former, with BOSS Linux. It's essentially Debian with some different default language packs. Their web site also boasts "unique features" like the ability to serve web pages from their server edition (wow!), so I'm not sure how much they've actually added and how much is just hype.
However, I can't imagine building an OS from the ground up for the purpose of fending for their own cyber security being a good idea.