Toilet Fill Tube Connection
Yes. That's how it's supposed to be.
You have water coming out by the tube which has the on/off mechanism and a small flexible pipe that is expected to send water inside the overflow tube to refill the bowl. Without that, the bowl is not likely to refill much, actually.
I uploaded a video on YouTube to show it in action.