You can, and if you’re interested in electronics and solar energy it could be an interesting project (there are numerous plans online). However, if you’re doing it to save money, by the time you’ve bought the solar panel, components, and tools, you may not be any better off.