Well, he goes to bed at midnight because you are up until then and the lights are on and not because he 'prefers' it this way, my dear. Parrots need to follow a solar schedule and that means up with dawn and to bed with dusk (with no artificial lights on before the sky is completely lit or after the sun is halfway down to the horizon). They are not like dogs or cats that can adjust to our schedule, they need to follow a bird schedule (think of the birds on the trees and chickens) because Nature made it so their endocrine system is regulated by light so, if he doesn't follow it, he will end up with a screwed up hormone production and, when it comes to amazons, that means aggression big time! It also means a depressed immune system, physical discomfort (and/or chronic pain), etc. The endocrine system is the body manager and when it's not working right, everything else is affected (growth, sleep, appetite, sexual function, etc).
You also need to change his diet because amazons cannot eat seeds all day long. They are VERY prone to fatty liver disease which comes from eating too much protein and fat (as in dry seeds). Now, I don't use or recommend pellets, I think they are too unnatural and not the best dietary option for parrots, I feed gloop and produce in the morning and a measured portion (1/4 measuring cup) of a good quality low protein seed mix (budgie or cockatiel mixed with budgie) for dinner. BUT, if you are going to use pellets, please use Tops and no other. Mind you, you will still have to provide him with fresh produce as well as cooked veggies every day.
Amazons, unless they are hormonal, don't usually like their body touched. When they love and trust you 100%, they might allow you to scratch their heads, cheeks and neck but that's about it.
My amazons don't play with toys, either, but they LOVE cardboard boxes. When they see me bringing one into the birdroom, they all come to the edge of the platform (they are not in cages) and lean forward, staring at me waiting for me to say 'the' words: "Look what I have for YOOUUUUU!" "You want it? Yeah? You want it?" "OK, here it goes: Ready, set, goooooooo!" and that's when I throw it in the air so it would fall on the platform and when they all rush real quick to be the first one to reach it and chew on it

But they also take the little boxes from my hand. Try giving him one and see what happens.