No autoflowers dont need darkness...
Some plants do benefit from "night time" but weed/hemp/marijuanna is not one of them.
Usually plants that benefits from darkness/night are big plants that lives multiple seasons while small plants that only lives for one season dont really need darkness and can benefit from 24 hours of light.
Photoperiods on the other hand, have their flowering triggered by the amount of light they get (and wavelengths) as they are bred from plants that used to grow in areas with distinguished seasons.
with that being said..
it is not necesary to provide 24 hours of light. If the light you provide is strong less can be more than sufficient. theres a maximum amount of light that the plant can absorb and giving it more wont increase its growth but just provide you with a larger energy bill.
Look into PPFD and DLI for more information about Daily Light (index) for autoflowers....
On my diary
growdiaries.com/diaries/201897-danestrains-grow-journal-by-vantheman/week/1143631
i have made some measurements on the light output of my lamps to get a pointer on how long my lamps should be turned on to provide enough light for a plant in flowering.