It certainly isn't illegal to use a mobile phone at work. But an employer is entitled to set the terms and conditions of employment, within reason.
If the use of mobile phones (either calling or texting) is being abused, it may be reasonable for the employer to impose restrictions. He/she may reasonably argue that attentin was being unreasonably diverted from the care and attention of the children.
You could argue the point