It might not be conventional, but it's ok to visit Facebook 'from the outside' in legal terms. The only red line here would be your eventual intentions. As long as you don't use the gathered information to harm or harass anyone, anonymous visits are not a problem.