Since "the government" in this context includes the legislative, and not just the executive branch, of course it can create legislation that decides such things.
However, the question was if nurses are forbidden to strike, and the answer is: no, not in general. What is happening now is that the government forced a contract on them, and continued strikes break that contract.
However, the question was if nurses are forbidden to strike, and the answer is: no, not in general. What is happening now is that the government forced a contract on them, and continued strikes break that contract.