There are some limitations that the principal can enforce on their attorney-in-fact. The principal may give their agent as much or as little power as they want and declare that in the power of attorney document.
That said, there are some legal restrictions as well. The beneficiaries of power of attorney cannot conduct activities after the principal’s death. It’s the executor of the estate who deals with their property after this.
The attorney-in-fact also cannot sign the last will and testament instead of the principal, nor can they transfer the power to another individual.
A limitation that is trickier to handle is that the agent is legally obliged to act in the principal’s best interests. This may be quite nuanced in some cases and may lead to litigation in court if abused.