This is a legal question, which better fits "Law StackExchange" at: https://law.stackexchange.com/
The company may or may not pursue that option, depending on whether the impersonation really hurts their company financially or their reputation. If there is no real damage to their company in any way, then they may ignore this impersonation to save time and money.
Please note that this following paragraph does not imply that the OP wants to cheat. :-)
It is just a general piece of advice.
The point is that the candidates should not cheat by asking someone else to take the interviews for them.
The first reason is that if the candidates pass the interviews by asking someone else taking the interviews for them, then if they get the job, they will likely not have enough skills and experiences. This deficiency may show up very quickly during the first work assignment, and the managers may let these employees go pretty soon.
The second reason is that the companies may also take the pictures of the interviewees, and later compare those pictures with the photos of the candidates who get the job offers. Here are some possible scenarios:
1. Online Coding Test:
Lots of online coding test websites (such as Codility, Hackerrank, etc...) may require test takers to turn on the webcam on the computers while taking the tests. Then, during the tests, the software will automatically and randomly take a photo of the test takers once every 20 seconds or so.
2. Onsite interviews:
When you enter the physical offices for in-person interviews, the security cameras of these companies will automatically record your images as you walk around the hallway, or go in and out of the offices for interviews.
3. Online video interviews (Zoom/Microsoft/Google):
Depending on the country or location, many companies may or may not even need to ask for the permission to take pictures of the interviewees (screenshots) during the online video interviews for the interview records. Or, they may have some small fine-print somewhere to say that they need to take the photos of the interviewees for the interview records, and require you to give the permission.