Yes, a legal heir certificate can be applied online. You can fill out the application form on the e-portal of a district of the relevant jurisdiction and attach all the required documents. Apart from that, the fees must be paid online while submission of the application forms. When the certificate is ready, it can be downloaded from the e-portal itself.