Alexa needs a contact sensor or motion sensor to trigger a routine.
I have used that method with Twinkly and it worked fine, but adds a second cloud to the mix. Personally, I’m now going to use the HomeKit method (because I’m already a HomeKit/Homebridge user) so I’ll have local control over the on/off toggle of the lights.