Yes, on a LAN things are actually simpler.
You can select packets depending on the source address or subnet, or protocol and port number, like:
- all http traffic uses link A
- all e-mail uses link B
The general idea is: setting a "mark" in the packet and choosing the right gateway depending on the mark with ip route.
site has a lot of good information about how to use ip routing etc.