No, it is not legal, and riding three people on a bike is unsafe as it can disbalance the weight distribution and lead to severe accidents.