I’m sure it would. In my classroom we have done electrolysis in little hydrogen fuel cells using solar cells under Kessils. That IS weird we don’t see equipment using our lights. It’s also DC current.Or solar!
No, really.
Our lights put out a ton of energy. If the attachment clip had a tiny solar panel, it might work.