Yes... A Pi running FPP already has the ability to do this. On the "Channel Outputs" page, on the Other page, there is a GPIO option that can be added to have a channel mapped to a GPIO. xLights can send DDP or e1.31 to the Pi and the Pi can map those to the GPIO's as needed. Or run the Pi in remote mode (although a few channels of GPIO data is NOT much to be sending on the network.)