Is it possible to split routing into two different gateway on same subnet?

Haloo,

I want to ask you and help my problems
Is it possible to split my routing into two different gateway but it’s ip gateway is on same subnet.
topologi.png
From host 1 i want to make a route into 100.30.30.2 and from host 2 i want make a route into 100.30.30.3 then connect to 100.30.30.1.
But from my attempt it is always read from 100.30.30.2.

Can someone help me and give me some advise?
topologi.png

Mark the packets from those hosts by the routing mark and then apply a routing rules to them.