You don’t need a sewer system for a toilet to exist. A septic would hold the waste.
Though, a sewer system is very important in a city, if it needs to keep sanitary. Though in a demon city, sanitary issues from lack of working sewer might not be a problem.