No, not stockpiling oil.
but they did just cut a deal with Russia for...oil
Russia doesn’t have the capacity and even if they did they won’t prioritize them over Europe.
That said. China is perfectly willing to simply turn off its economy for a time to prosecute a war.