If you try do it make sure that you get a MPPT Charge controller they do better than the old PWM charge controller.
I have 2 of the 100w renogy solar panels at the shop and want to try them with the golf cart and see how they do but don't have a 48v charge controller.
I currently use 4 of the old 6v batteries out of our motorhome and have them hooked up series parallel to have a 12v battery bank and the 200w of solar keeps them charged up enough to run the stereo and small hand tools while I am up there.
Maybe one day I'll run across a 48v charge controller and see what it can do for the cart.
You can get something like this for about the same price as I paid for the 2 100w solar panels.
https://www.solarpanelstore.com/prod...yABEgIQSvD_BwE
Good luck and keep us posted