Yes, a virtual internship is a great addition to your resume. Especially, if your internship experience is relevant to the role you are applying for, it will hold significant weightage on your resume.
The idea behind a virtual internship is to gain valuable skills and work experience that will be useful in future jobs. Students who take up multiple online internships alongside their course have a higher chance of landing high-paying jobs.