Answer:
Generally NO.
First of all you have to give us more detail, PIC16F works on 5V (I suppose), battery voltage is ?!?, Solar panel caracteristics are ?!?!
Generally solar panel gives more voltages and more current than you need in case of really strong son, so you have to make circuit to limit those values....
I have one application where are solar panel an battery 100Ah. There is only voltage limiter between solar panel and battery, because battery is very big, and panel can give ~500mA max so current dont have to be limited....
Give more details, and get more precise answer!
Mr.Cube