Hi Ceri - yup! No probs - apart from the length of your arms, cos the stink is truly "wonderful"!
But there's not many weeds I do that for - only ground elder and bindweed on my plot. The couch, docks, dandelions, coltsfoot, creeping thistle - I chuck all those straight on the heap.
Sure, some of the root bits regrow when the compost goes back on the bed, but as soon as the "blown-in" weeds are hoed off, so are the ones I've introduced (and when they are very small, too). It's no more work, I don't thnk.
Hmm - but I wouldn't like to be so lazy in a garden, I suspect.
All best - Gavin