GPIO support

We have Beamer they not hear on the CEC Command, they have only a Interface for Relais for commands, is there a way to use the gpio's to trigger 2 Relais on schedule start and at the end to off? At this time we have there 2 Raspberrys. One for Yodeck and one for a time based solution but in one device it would be great :D Best wishes