Yes, an executor can also be a beneficiary of the estate in Malaysia. In other words, the person named as the executor in a Will can also be designated to receive assets or inherit from the estate as a beneficiary.
What the law says
The Wills Act 1959 does not stop the person named as executor from also receiving a gift under the Will. If the executor also acts as a witness, however, they must not be a beneficiary: a gift to a witness is void (section 9), although an executor may witness the Will (section 11). So choose two other people as witnesses. This applies to non-Muslim estates in Peninsular Malaysia. Muslim estates follow Islamic law.
Legal basis and further reading
General information for Malaysia, not legal advice. For your own situation, speak to a lawyer.