No, it's not legal. That "cruiser" is the peoples, not joe blow cops. The people allow him to use the car for official purposes only, not to take someone out, driving at such a reckless speed.
On duty, off duty, no matter. It's not a toy for his friends to play with. Someone need's to report...