I'm always look at ongoing costs rather than upfront and mostly thats the TDP, which is exactly the same. So I would agree with your sentiment. The major cost is performing it.
Single thread has a small increase 5% or so, but you have double the amount of threads. So your two dozen (24) docker containers could have a thread per container! Thid could benefit you a lot if you were running anywhere near 100% or have long running multithread jobs.
If I had the disposable money and I thought I could sell the 12th gen CPU then maybe. But i'm still rocking some old E3-12xx v3 Xeons which probably costs me more per year than what you will pay to upgrade!