Of course. Provided you kit yourself out with the correct adapters, and find a good way of storing any surplus energy produced by your solar system, you can use any combination of fuel (renewable and non) to power your ship’s engine.