You can teach a bird to perform some behaviors on cue. Once a bird knows how to do a behavior on cue and you know the bird is about to do a behavior you don't want the bird to do (i.e. you see the signs of the behavior about to happen before it happens), you can cue the non-hormonal behavior and reward the bird for that.
It can also help to not allow the birds anywhere near a nest or nest like objects and material, no feeding warm foods, possibly changing the diet, no handling that results in a bird becoming aroused, changing the cage around, changing cage location, changing day/night hours, etc to help prevent some of the hormonal behaviors.
Cockatoos are well known for being one species that easily gets over-sexed because of the diets and how we interact with these birds. Other parrots can as well.
I think it's great and all if your bird loves you and enjoys spending time with you, however we can't mate with our parrots. We can't raise little human-bird babies with them. It's almost like having a one sided relationship, and it's simply not good for birds to constantly be aroused. We easily set up our homes for ideal breeding conditions because the temperatures are constant throughout the year, light/darkness is constant, an abundance of food available, lots of places to seek out and make a potential nest of, then encouraging hormonal behavior, even if inadvertently... well, can you imagine how frustrated some birds may become? We set up an ideal breeding situation for them, then we wont mate with them!
That's just not the kind of relationship I would want to have with my birds.