No, you can't get in legal trouble for using these methods. However, if you use them in a way that violates someone's trust or makes them uncomfortable, it could strain your relationships with your contacts.