Anyone designated as an agent or attorney-in-fact through a power of attorney must always act in the best interests of the principal. This means that yes, in certain circumstances they can transfer money to themselves, but only if the transfer is in the best interests of the person they are making the decisions for.