It's a great idea, not something I've done myself as I don't grow weed outside really. But basil, coriander, dill, fennel, lavender and any brightly coloured flowers planted in and around your garden make great pest deterrents and distractions. Planting them in your soil with your weed will helo to feed the soil and create mulch. But just make sure there's plenty of soil and root space for the important plants, if you're growing in pots at least 15/20litre 😉🌱👍