A solicitor can certainly act in the capacity of a Mckenzie friend.
A Mckenzie friend can offer guidance to a litigant in person.
There is no bar upon being a litigant in person if one is also entitled to rights of audience.
Can I clarify anything for you?
If he deceived the Judge then that would be improper but just assisting would not get over that hurdle