Yes. VPN usage itself is perfectly legal in Malaysia. However, using VPN for illegal activities is still illegal.