PLC programming

hello, i’m a PLC automation programmer, i am curious on how to use AI to program a PLC if i give it access to my hardware, For example i already have at home an automated irrigation system linked via wifi…,can i ask him to enable the water pump for me? I do this by accessing dedicated remote software and clicking on the required button on the touch screen or can be a hardware digital input directly into the PLC.
i asked the AI about PLCs and has some general knowledge of Siemens, Allan Bradley, Omron, etc etc…i want to try to connect it to PLCs and let it try to make programs that would basically let AI control the irrigation or electric rolls over the windows, etc etc…is it possible?