Can the Russian Empire survive if ww1 is years later or even if there not a major war in Europe or Asia for a few more decades or is the Russian empire doomed to collapse into communism or some other kind of totalitarian government?
Yes it can, During the Years of Tsar Nicholas II of Russia had been doing a very good job lately, Avoid Or Make them win the Russo Japanese war, and Nich's popularity will skyrocket if he win, if avoided, Nic's reign is not destabilized.
Russian industries was growing very rapidly they are industrializing at a very rapid rate. Living conditions are getting better. Nicholas isn't competent as people often think of him, He is an excellent administrator = competent. Coal and Iron production tripled during his term, more rights for russians are given , and public education is introduced, and Nic tried to protect the jewish people instead of harrasing them on what other tsars did.
I am sure reforms would be gradually made and ITTL we will see a Constitutional Russian Empire today. If successful, In the 1950s Russia's economic, military, and political prowess will be next to the US, Being the dominant power in Europe.