Yes, hackers with malicious intent can potentially gain unauthorized access to a computer’s webcam and spy on the user. It is crucial to have robust security measures in place, such as up-to-date antivirus software and regular system updates, to mitigate the risk of unauthorized access.