Yes, government employees in India can invest in the stock market, through a registered broker. But law prohibit them to do the frequent sale purchase of the shares. So basically they can do the investment but not the trading. They also have to give a declaration if they have invested more than 6 months of salary in a financial year. For more clarification it is better to talk to the HR department.