Yes. Using both a plug and a batch to repair your tire is actually considered the safest repair solution. Many tire repair kits do contain both plugs and patches.
Plugs are a great way to repair punctures greater than ¼” in diameter, which patches can’t always cover. Using both devices gives your tire the best chance of continuing to last. However, do bear in mind that if the puncture is too close to the tire’s sidewall, it will probably need to be replaced.