Generally this is not advised as your family members and friends are a bit biased! Colleges will take these types of recommendations with a grain of salt. However, there are exceptions to this. For instance, Dartmouth College asks students to submit a peer recommendation from a friend or classmate. In this situation, the admissions office is explicitly asking for this type of recommendation, so it"s obviously okay.