If you look at the person's stories, yes, Instagram notifies. If you just look at the profile, the person does not know that you looked at the profile.