Can monitoring apps be legally used at work?

Is it legal to install a monitoring app on company-issued phones to track employees’ usage?