Basically no.
A solar panel is a complex voltage/current device. That might give startup problems during dusk/dawn.
An unloaded 12volt panel will also produce >18volt in full sun. Too much for most Arduinos.
It might be better to charge a battery with the panel, and power the Arduino from the battery.
Post specs of all the hardware if you want better advice.
Leo..