Generally, no. It may not be hard, but it would involve either access from below or tearing out part of the floor to move the drain pipe. A design consideration might be to replace the door with a pocket door, then there's no swing to deal with. Or, a surface sliding door.