Eufy/Amazon Routine Query

I have eufy doorbell, inside and outside cameras and Homebase 2. I would like to trigger a lamp when motion is detected via smart plug using an Amazon routine for a set time. So the question is a, can it be done and b, how? Thanks for your help.