It is possible to restore a backup from a supervised device to another device.
The preferred option is a iCloud backup, the new device will become supervised after the backup has been restored.
When the new device is configured with DEP the DEP setup will follow after the restore of the backup is completed.
Restoring a iTunes or AC2 backup is also possible but might cause problems with some certificates (no expiration date provided) in that case you need to replace the MDM profile with AC2 to solve this issue.
Make sure iOS and the installed Apps on the device are up to date before the backup is created.