If a learner's profile on Duolingo is set to private, you cannot follow them. Their profile's visibility is limited by privacy settings, which also prohibit others from following them.