Yes, firewood ashes can be a great addition to compost, as they contain nutrients that can help with soil pH balance.