Not the gp, but there are situations where that kind of activity is absolutely necessary. Think about driving behind an Uber that stops in the right lane immediately after clearing the intersection, then puts their hazard lights on to wait for a passenger. Your options are either (1) stop behind the Uber, potentially blocking the crosswalk and the intersection when the light changes, or (2) make a lane change in the middle of the intersection and pass the stopped Uber.