Yes, in a scenario where an object is in contact with a wall but no external force is being applied to either the object or the wall, the wall would still exert a normal force on the object. The normal force is a contact force exerted perpendicular to the surface of contact between two objects.
When the object is at rest, the normal force arises as a reaction to counterbalance the force applied by the object due to gravity. In this case, the force of gravity acts vertically downward on the object, and to maintain equilibrium (no net force), the wall exerts an equal and opposite normal force in the upward direction.
The normal force prevents the object from penetrating or passing through the wall, effectively providing the support necessary to maintain the object's position and prevent it from falling. It is important to note that the normal force is a reaction to the force applied by the object and arises from the interaction between the object and the wall.
Even though the object and the wall are not experiencing any external forces in the scenario you described, the normal force will still be present as long as the object is in contact with the wall.