Relocating a toilet location. Will this work ?

Hey all, DIYer here looking for some plumbing advice.

So I'm redoing a bathroom and I'd like to move the toilet to a new location. My plan is to try to remove the elbow that is tied into the tee pictured in the first picture. In the second picture I've drawn the new location and route.

Id like to go that route as below the pipe is electrical wire I'd rather not have to move. (The water line will be rerouted so will not be in the way)

Is this too many 90s to run off of a toilet ?

Also what's the best way to remove the current elbow while preserving the integrity of the tee ?

This is a second floor washroom with no access to plumbing below