It would be best to put a new stack in outside the house that would go streat up witb an air admitance valve on the top under the soffit
Any bends in the stack the way you have sagested to do it is not the don thing. They would have to be long radius bends with access for cleaning as solids...