Caltrain does exactly this.
And as someone that’s ridden the bus in LA many times: the culture of acceptable behavior there is infinitely lower than the typical Central European bus.
To be fair I did have NYC in mind when writing the comment though, and I should have looked into west coast systems more.