Probably not. I'm not saying "don't form LLCs" — it's probably in itself a good idea for any slightly serious project — but rather that it isn't a substitute for complying with the law.
I say this from experience because I once made exactly that mistake (formed an LLC that was otherwise unnecessary specifically to protect against potential legal consequences of a side project, only to find out from a Google Alert six months later that a lawsuit had been filed against me personally).