Depends on what you mean by worked. It definitely lead to some weapons being banned, but the features banned by the AWB were largely aesthetic, not practical.
Take a look at the CETME-L or the Kel-tec RDB
https://marcolmarfirearms.com/shop/cetme
https://en.wikipedia.org/wiki/Kel-Tec_RDB
This is commonly available in my state of Massachusetts and the only thing it needs done to be AWB compliant is to have a muzzle device that isn't a flash hider welded in place. I don't see how a shooting like Uvalde would have had a different outcome if this, or a mini 14, or any of the other box-fed semi-auto rifles that are AWB compliant.
It's worth pointing out that the Sandy Hook shooting occurred in a state that never repealed their own state-level assault weapons ban which had very similar language to the federal ban, and the AR-15 pattern rifle used was ban compliant.
Even if you're in favor of gun regulation, the assault weapons ban focus on largely cosmetic features like pistol grips or muzzle devices is largely ineffective. There are more ripe intrinsic features to focus on, like removable and large magazines and semi-auto functionality.