Supposedly the new expansion will let you do this, but you're still aligned to your class's faction mechanically. That is, Republic and Imperial characters can become "saboteurs", working for the other side secretly to destroy their own faction, and you'll get story choices for this...