+1 for what
said - you want a grid tied solar system - and then charge the car at night when rates are low - power used at night to charge your EV will be offset by the solar power you generated during the day...
what you are asking for is technically feasible but for reasons already mentioned, plus
1. solar does not generate a continuous current - all day it changes - you'd need a charger to ramp up/down to match current solar production - technically feasible but impractical
2. power will be lost when the car isn't there to receive it
3. you can't charge at night
4. solar generates DC, EVSE charging on the Bolt uses AC, unless you build a Fast DC charger that is run off of solar
5. you'll want to charge the car on cloudy days and in the winter when solar produces less, you'll need the grid to make up any short fall.
6. people typically drive their cars during the day and particular during prime solar production hours 10 am - 2 pm
what you are asking is technically feasible, but from a practical point of view there are existing better solutions and solar still ends up providing a lot of the power you use to charge your car - but it's usage is shifted to off peak hours using credits you generated during the day.