Nope, it's a violation. In a crosswalk, the pedestrians have the right-of-way, and motorists must wait until they have walked through the area the car wants to turn through to go. Yes, this means that in cities, you often can't turn right until right at the end of the signal, when you can pass behind the pedestrians completing their crossing, but there isn't enough time for any pedestrians to start crossing and claim a right-of-way.
I was always taught that from the moment the pedestrian steps off the curb, you cannot turn in front of them. They have the right-of-way.