While you can marinate tofu in pesto, we recommend mixing the pesto with the pasta instead and using a quick basil-infused marinade for the tofu.