It can't be that hard to do this, if they want to. Boarding passes have group numbers now... For tickets under a single booking, pick the lowest group.
Assign low numbers to special people, then group 4 is windows in economy, group 5 is middles, group 6 is aisles.
People can try to cheat, but when the gate agent scans the ticket and it says not yet, you don't get to go.