It depends on the ultimate goal of the attack and whether the 'attacker' is a single entity or a coalition. If you look at Hamas' destruction following the October 7th attacks, the natural conclusion is that the attack was pointless and the attackers ended up losing. This is only if you consider Hamas the only attacking force against Israel. In reality, there's multiple countries and militias that are attacking Israel. Hamas' destruction isn't necessarily the end of the war against Israel, but certainly the end of the battle. They succeeded in drawing Israel into a wider conflict, putting them on the offensive and also hurting the country's public image and support in the process. At some point in the future, Israel's choice to act so aggressively may be a detriment to itself, though its impossible to say for sure. Also don't want to dive into a political discussion either.
If the ultimate goal of the uncap attack is to disable or disrupt the defending side, it (typically) ends up being successful. Of course, the attacking side usually goes into these battles with the understanding that they will not be leaving alive. The pilots of the 9/11 jets certainly died, and if you consider the pilots as the only attackers, they definitely lost. Al Qaeda, the group funding the attack, was eventually hit hard and mostly destroyed. However, the long-term goal of weakening the defender (United States) eventually came to fruition many years later. In the long-term, the attack had some level of success, although not immediately.
Desert storm is one of those rare immediately successful uncap attacks where both the short and long term goals of the attack were fulfilled early on. The attackers left with minimal losses and inflicted the damage as planned. That will never happen in battlefield 4 because there's no real permanence of the defending team's losses besides tickets. It could only be replicated if the entire attacking team's vehicles coordinated and committed to assaulting the defender uncap at the same time (statistically impossible)
Its also really difficult to accurately measure the success of an uncap attack and its effect on the rest of the battle. The most visually obvious benefit of uncap attacks is that it delays critical defending vehicles and personnel and buys a window of opportunity for the attacking side to capture more points. It's usually a 15-30 ticket difference. It helps the attackers as their personnel can capture key points without being constantly assaulted by heavy armor or enemy aircraft. The window of the advantage is typically the respawn time of the vehicles that were destroyed.