Yes, if your account is public, anyone can see that you viewed their story, regardless of whether you're friends. However, if your account is private, only approved followers can view your interactions.