Question on solar power:

If I don't want to have continuous power available, can you just wire the air supply to the solar panel directly (no batteries) and let it pump when the sun shines? Any downside to doing it this way?

Thanks