Maybe. If the model were changed so that people scheduled rides ~15 mins in advance and met for pickup/dropoff at a semi-centralized location.
One way to adapt the k-means algorithm to this would be to add a “regularizing” or penalizing term proportional to the number of cars needed to be deployed — you can think of this as the cost per car.