No, it's best to send an email to follow up after an interview.
However, if you don't have a contact email for your interviewer, it's fine to message them on LinkedIn after your interview to express your gratitude for the chance to interview.