That's exactly what's happening in the village
it does but isn't as perfect as Mega Man X's intro level for example.
and a lot of the work is done before you arrive at the village during your walk through the forest and in the first house.
so the village does introduce some mechanics to the player, in a very good way too, but it's not the part of the game that actually teaches you how to play.
that is doubly true in the remake, which stopped trying to naturally teach you mechanics completely.
if we only use the original RE4, not the remake, and we include the part before arriving at the village, then you have a point.
but only the village, and you have already passed the part that teaches you the majority of it.
and in the remake it's completely disqualified imo.