Yes. Malaysian citizens can apply online for their Sri Lanka ETA/Visitors Visa.
You can apply here,  https://srilankavisaonline.com  all you need is valid passport in order to submit your application.

We deliver your visa within 24 hours


NOTE  - The requirements for a Sri Lanka Visa is that you can only apply up to 180 days (6months) prior to your departure date