I wish I could just answer, “yes”, but unfortunately it is not that simple. Ultimately, no WordPress plugin in itself can provide legal compliance, and the responsibility for making your contact forms compliant with legislation lies with the user (you).
The only thing we can do is assist you with some advice. I’ve written a post that explains how you can make privacy-friendly contact forms, so please refer to it.