Yes, a legal guardian in Malaysia can be someone who is not a family member. The law allows for the appointment of a suitable person who is capable of fulfilling the responsibilities of a guardian, regardless of their familial relationship with the child.
It is recommended to choose someone who has a close and trusting relationship with the child, such as a close family friend or a mentor who has played a significant role in the child’s life.
What the law says
Section 7 allows a parent to appoint “any person” as guardian. There is no requirement that the person is related. The court will still look at the child’s welfare (section 11).
Related: Can a family member be a legal guardian?
Legal basis and further reading
General information for Malaysia, not legal advice. For your own situation, speak to a lawyer.