There are always pluses and minuses to every choice.
I am not sure why you have different sized batteries, but it is generally considered to be much better for the lifespan of the bank if they are all the same, size, age, brand, etc.
Certainly the G31 batteries will be smaller and easier to handle. The downside is you will need more batteries, to get the same capacity, which means more individual cells, which means an increased chance of one bad cell damaging the whole string. If you know how to watch for this, it's not a deal killer.
We run our 52 foot
boat on eight G31 batteries configured as a 460 A-hr/24V bank. I know of others who run 12 batteries in a
single 650 A-hr/24V bank.
So yes, you can.