This is SOOO niche but just in case this helps anyone; two of my sims would not stop glitching out. wouldn't move, sleep, use phone, or interact with anything or anysim. Even went into this mode switching between a standing position and T posing at infinitum. Just these two, no other played sims glitched.
!! IT WAS AN EVENT ITEM !! , the two sims in question, were both holding keys from the Lost Legacies Event in there inventory. I couldn't delete them, because they were event items, but I could find and place the curio table and drag them into that. I removed 3 keys from one sims inventory, and the 2 others that were in my other sims inventory suddenly ceased to exist. (good thing I wasn't saving those or anything)
I was going crazy trying to figure out what made these 2 sims special. no CC, no Modded traits. uninstalled script mods, uninstalled ALL mods. Finally I'm scrolling through forums and someone says 'just delete their inventory and see what happens, you don't have to save after'. The one thing I couldn't delete, was the family keys from the event. The keys are gone and now my sims can live life again, which is ironic that it was the keys because the main reward from the event is a cursed ring. That neither of them were wearing. The ring seems to work fine actually.