Enable/Disable automatic sleep tracking through Tasker

Since the “automatic sleep tracking” feature starts sleep tracking when not using the phone at certain times, would it be possible to add an option to the Tasker plugin to enable/disable the feature?

This would allow me to combine the automatic sleep tracking with custom triggers (like a connected charger).