Can I assume that groundings in electrical circuits can be split?
Schematic-wise both drawings are equal and analysing them makes no difference. It just assumes wires are ideal.
In real life, you can implement how the currents return to battery in many ways, as real life wires have resistance and thus currents flowing in wires create voltage difference, but that can be ignored if your circuit is not a precision circuit.