That depends on your local regulations. My gut (and informal) reaction is: No. Admittedly, I could be wrong.
However, perhaps more to the point, have it done professionally. There39;s a reason why the contractor has a license and your friend doesn't. Incorrect or improper installation could result in fatalities. Spend the money and have it done correctly.