Yes. Any government employee can buy a villa. There is no bar on purchasing commercial, residential, or any kind of property. Any such purchase should agree with your source of income.