Yes composting nettles is a great idea and it accelerates the process of adding nitrogen to the compost heap.