Yes, that’s why China have set up its proxy, Rouge Khmer and wage war with Vietnam for over a decade to try to “stabalize” Vietnam but failed.
As a Vietnamese, though my country still have numerous problems with politics and economy, I have a firm believe in Vietnam’s foreign strategy. As we share a border with China, of course we don’t want China to be our enemy. But we still do have some deterrence against China, for example our Scud missile, which I believe can reach entire pearl river delta and Hainan
If you want to research more on this matter, I recommend this interview with former chief of Vietnamese military intelligence (have English subtitle)
TLDR: “Vietnam is not intermediary. Vietnam is not neutral. Vietnam is independent”