I just did some searching and there are no restrictions on barrel length on pistols. A pistol lower with a 16" upper and scope is going to look a little odd, though.
You'd probably know......Is it legal to put my 16" upper on the pistol lower I'm going to be building? I don't have an upper for it yet, but I want to be able to test fire it with all the cool kids.