It's better to have professors or people in the industry whom you have worked under write those letters, in my opinion. I would think an admissions officer would be more impressed with a letter from someone who have a professional or professor-student relationship with you than a letter from essentially, a friend.
Would avoid and only use it as last resort.