No, it has to be done with the rooting utility on a PC but not necessarily a Windows one. If a friend would let you use his PC or laptop so you can download the software - Kingo Root or similar - for the purpose for rooting the phone, no harm will come to his computer.