I think it seems quite likely to work out just fine. Sure, IRROPS could mess up your routing, but I think there is no way the airline would know your friend used your boarding pass. Especially if the gender and age were close.
Having no checked bags, and both going through security properly would negate most safety cincerns.