Yes. Windows lets you point an installer at any drive with enough space, and programs generally run perfectly well from somewhere other than C.
Plenty of people keep a large secondary drive specifically for games and bulky applications, which also makes a reinstall of Windows less painful. Just make sure the drive is internal or permanently connected, since a program on a drive that disconnects will not launch.