We can joke that it's a bad idea, but unless the two teams are playing each other, it's not like the fan bases will be running into each other every Sunday. The 49ers and the Raiders aren't beating each other or shooting each other.
Raiders should renovate their stadium in Oakland, A's should build Cisco Park, Niners should move to San Jose or renovate Candlestick to make it more modern. Problem solved.