A headshot would be of exactly zero value to me. I have no photo on linkedin or any social media. In fact, zero photos of me online.
Current work asked me to upload a photo for the company skype / whatever. I told them no. It's completely pointless.
If a company wanted a photo for me to apply for the job, I wouldn't apply.
Judge me on my history / technical skills / personal skills etc at the interview. My face is irrelevant.