From what you are writing I believe it is much easier to add a few motion sensors and some not-tto-smart automation. But possibly you are trying to keep it relatively simple (appreciated…seen too many posts with massive text)
If ever this rises, I would love to use AI but not for predicting a combi of motion/light… that makes no sense (to me)