Only if this tunnel’s intention is to throw everything out that enters it. Luke is thrown out in the middle of the tunnel, so we don’t know where it leads and if the lightsaber couldn’t have gone all the way through it and not be thrown out.
Of course there is an intention to throw things out. First of all, there was a mechanism that sucked Luke sideways (I guess to prevent stuff falling into some machinery further down the big vertical shaft). Secondly, the hatch inside the small side tunnel opened when it detected Luke and threw him into another tunnel with a direct vertical opening toward the planet centre. The intention of the system is pretty obvious.
If the tunnels intention was to throw everything out, why didn’t it end at the bottom of Cloud City? Why was it necessary to have another tunnel in the wall that opens conditionally? We don’t even know what triggered the hatch to open, was it Luke’s weight or was it just bad timing (just like it was bad timing that the trash compactor starts with our heros inside)?