It is allowed to overtake in tunnels, but make sure that you can do so without being a hindrance to other road users. And that you follow the principles from the basic rules of traffic.