Yes, you can be anonymous on LinkedIn. Also, if you didn't know, other users may be able to see when you viewed their profile.