Most of the Elegoo firmwares accept standard Marlin/Klipper style gcode commands, so there's a good chance it's already compatible without any other changes. You could try going to Help > Configuration Assistant, and then choose the option at the bottom to manually enter the printer specs. That will setup a profile for those exact specs and then you can customize the starting/ending scripts based on your preference.