Niece with a non-IRS POA has been signing tax returns for her aunt.

Can a non-IRS POA be perfected if the principal is incompetent and the representative is a not an immediate family member such as this niece. Code f on the 2848 says it is for immediate family members.