yes, i would imagine gnembon was involved in making it vanilla. see also `/tick`. that also came from carpet.
but both vanilla and carpet implementations of this are creative features. you need additional stuff to make it work for regular survival OR give everyone access to creative commands.
Unplugged AFK is strictly less powerful, sure, but it's survival friendly out of the box.