This is most likely an alternative option.
Plus, due to the high pressure, some of the drainage can spill out of the sink or toilet onto the floor. Do not forget that while washing is in progress, at a minimum, it will be very inconvenient or even impossible for you to use the plumbing fixtures for their intended purpose; And then, it's just not pretty.
The main thing is to take into account ease of installation, use and aesthetic qualities. Checking the washing machine pump
Therefore, the best way to solve the length problem is to connect the sewer pipe to the required distance. The connection can be made using a sealed method, using any waterproof hose of a suitable diameter.
An RCD is a device similar to a package plug that turns off the power supply to the device if the current flows into water or into objects in a damp room.
When connecting the machine directly to the sewer, violation of the established connection rules as a result of independent actions entails repair of the equipment at your expense, the manufacturer’s warranty will be invalid.
So, I don’t advise you to buy a hose that is too long.
Inspect the back wall of the machine.