East Bay is huge and the BART is fast. You could live in Walnut Creek, Fremont, etc and have a less than 25 min train ride to Oakland. You really can't write off the whole east bay because some of Oakland has a high crime rate.
Sorry I should have been specific about meaning places to live and commute to SF. You could do that from the Nut or Freemont I suppose, but that's a far commute, and a whole separate discussion about why I wouldn't suggest that to anyone from out of the area