Is there a way to remove "input sockets" from a custom node group?
Yes, Edit your group and expand the N-menu in the material nodes windows and select the socket you want to remove. Then press the X beside the name.