Yes, it is perfectly legal as long as you explicitly tell your employees that company devices are being monitored. To be on the safe side, you can also check related or applicable laws in your state.