Taxis/Ubers/... can and do stop in the middle of a street. Why would that be different for a bus picking up a single person?
You can't just have buses stopping randomly everywhere, it doesn't scale.
This is based on the observation that people, including police, tolerate taxi drivers stopping at places where it's technically illegal.