Doesn't that mean you'd also need to somehow disable mobile data, and possibly calls as well if you don't want them phoning their friends late at night?
Might be easier to insist that phones charge overnight in some parentally-observable central area... Though I suppose they might use them for alarm clocks.
Device could be a tablet without cellular.
Anyway, my son has a phone (hand down from me 5 years ago) without cellular.