That is correct. Out of curiosity, I looked it up and for the Tesla Plaid that's 0.65 MJ/kg (or 181.5 watt·hours per kilogram)
But my follow-up question is: if gasoline has an energy density about 100 times higher (well, 60 times) why are dragsters not even faster? This Stuttgart EV does 0-100 km/h in 1.461 seconds (1.87g), and dragsters do it in 0.8 seconds (3.42g). It sounds like with such a phenomenal energy density, gasoline-powered dragsters should be able to accelerate at much more than 3.42g, maybe 10g, or more. Intuitively this indicates that the bottleneck isn't energy density, but mechanical factors (gears, traction, etc). Therefore if battery energy density can increase just a little more, maybe to 2 or 3 MJ/kg, this may be sufficient for EV to be able to beat dragsters.
Edit: actually just thinking about it for a few minutes, I realize that energy density doesn't matter. An EV like the Tesla Plaid uses less than 1% of its entire battery capacity to do one acceleration from 0-100 km/h. So the battery could be reduced to 1% of its size and it would still perform one acceleration at the same speed. So dreamcompiler is right. It's not energy density, but power output that matters.
Edit #2: The Plaid has a power output of 352 watt/kg (761 kW / curb weight of 2162 kg), while the Stuttgart EV has an output of 1241 watt/kg (180 kW / curb weight of 145 kg), so about 3.5 times more.