It is possible for a door to swing into a toilet, but it is not recommended. The reason for this is because it can be difficult to open and close the door without hitting the toilet, and it can also be difficult to keep the door clean. If you do decide to swing the door into the toilet, make sure that you have a good sealant around the door to prevent any water from getting into the bathroom.