Mixed opinions exist
From
https://www.compostthis.co.uk/pigeon-waste
Pigeon droppings can be composted – though it is best to only compost it from healthy, captive birds (such as racing stock), as poop from wild birds may contain harmful diseases or pathogens.
Like chicken poo, pigeon droppings can be a useful fertiliser in the garden but it needs time to “cool down” first. (It’s highly alkaline to start with and can burn delicate roots and stems of plants.) It will work as a compost activator in your heap – helping things rot down in a nice, timely manner – and the resulting compost will be great for your garden.
.........be careful using the resulting compost on acid-loving plants – the compost can still be leaning towards alkalinity even after it is rotted down.
https://permies.com/t/20577/composting/dangers-pigeon-manure