Earlier quoted context omitted.
Was that a "no screens after N pm" or a "screens only between N pm and bedtime" rule? I can imagine the latter working well, but we never tried because we're worried about screen exposure close to bed time causing sleep issues (blue light, but also because content on screens seems to excite and energize kids somewhat) - we're already having way too much problem getting kids to sleep on a sensible schedule.
The latter -- and getting to sleep on a regular schedule wasn't really a challenge in my situation. We did consistently start it at a certain hour, though.. so it would be, say, 7pm to 830pm and then start the bedtime rituals.
Just... try to avoid making your kids be something they're not, in general.