I would say yes. If you look at the information that comes with the door it will usually tell you the maximum you can trim off each end of the door.
Height wise you are only removing about 11mm so that would be just over half a cm at each end which shouldn't be a problem.
Width wise, apart from the toilet door you are only removing 7mm from the width so again that wouldn't be a problem. Your problem is the toilet door as that's considerably smaller.
If I remember rightly doors come in 2 basic standard sizes. I work in old measurements as that's how I remember them. The new doors you have are 78"x30". You want to get a 78"x27" door for your toilet.
DIY how to tutorial projects and guides - Did you know we have a DIY Projects section? Well, if no, then we certainly do! Within this area of our site have literally hundreds of how-to guides and tutorials that cover a huge range of home improvement tasks. Each page also comes with pictures and a video to make completing those jobs even easier!