This year's UFT board had a blanket age waiver for at least RPA, can't remember it was for all three options (Pilot, CSO, RPA). That would apply to any active duty officer wanting to apply to a rated slot.
For reserve/ANG units, it's totally up to the unit. They're funding the training and understand what they're getting in return, in terms of lifespan of useful service vs. resources invested. Captains are very common, especially as prior CSOs, and I saw a few majors roll through.