Yes! Fermentation of fresh foods with lactic acid bacteria increases the acidity of foods and hence the shelf life. As far as I know, though, you also have to add salt to suppress the growth of less desirable microorganisms.
Edit: You can skip the fermanation step by pickling your vegetables with a suitable vinegar. The taste will be much different though.