But .... golf cart batteries are TALLER than Group 24 12 volt batteries. This can be a problem in certain RV battery compartments.
For instance our Winnebago battery compartment is not tall enough for golf cart batteries, but is plenty wide enough for two Group 31 batteries end to end. We have a couple of 115AH 12V true deep cycle Group 31 batteries in the compartment. So we wind up with 230 AH of capacity - plus the overall redundancy/reliability situation of having one battery left to power the RV in case the other one should fail on a camping trip.