It can be done easily and it won't cost you alot to be fair.
https://renewitsource.com/best-solar-powered-light-chicken-coop-reviews/ has some lights that can be used along with a timmer, I think it recommends a timmer aswell on Amazon.
Best of luck with the setup!