Yes, of course, it is possible, and fortunately for you, Unity3D really supports it pretty well out of the box. You can use WebCamTexture to find the webcam and make it texture. From there, you can display the texture on anything in a 3D scene, including, of course, the screen of your virtual television.
It looks pretty straightforward, but the code below should start with you.
List and print the connected devices that it detects:
var devices : WebCamDevice[] = WebCamTexture.devices; for( var i = 0 ; i < devices.length ; i++ ) Debug.Log(devices[i].name);
Connect to the attached webcam and send the image data to the texture:
WebCamTexture webcam = WebCamTexture("NameOfDevice"); renderer.material.mainTexture = webcam; webcam.Play();
source share