Yes, if you type someone's username into the search bar, you can look at their profile without them knowing.