Yes, you can disable Passcode in Apple Configurator, which uses a Mac to create the XML policy profile.
There's also an OSS project for iOS/macOS configuration profiles.
https://github.com/ProfileCreator/ProfileCreator/wiki
There's also an OSS project for iOS/macOS configuration profiles.
https://github.com/ProfileCreator/ProfileCreator/wiki