The legs contain the largest muscle groups in the body. When you train those muscle groups, especially when in compound movements like squats and deadlifts -- which also involve the rest of the body -- the amount of muscle fibres trained is extremely high. Consequently, you release more growth hormones.
Growth hormones aren't dormant; they travel throughout the body and interact with all muscle groups.
Short answer: yes -- leg compounds will make your upper body bigger.