You ask it, we have it answered!
Can you benefit from a will if you are an executor?
In their professional capacity, an executor may not benefit from a will, other than through the professional fees for fulfilling the executorship role, as governed by law. However, if the executor has been specified in the will as a beneficiary, then the executor will inherit their share of the estate as set out in the will. (For the purposes of this answer the term beneficiary(ies) refers to heir(s) and legatee(s) as well as the beneficiary(ies) of a trust.)