Yes, all over the road locomotives, and local use locomotives are equipped with toilets in small rooms in the front hood area of the locomotive. Some even have fold down sinks for hand washing. The toilets are similar to RV type toilets that have a hand pump for flushing, and holding tanks for the waste.