There are lots of comments from the community about pilots flying at the wrong altitudes east west and west to east. My suggestion is that when dialling in a altitude in auto pilot the altitude button rejects the height if it doesnt match the heading you are flying. It would display a message similar to the message we get when using fuel dump and it provides you advice saying “ you cannot dump fuel because you are below your maximum landing weight” . If you dialled in 30000 feet in AP and you were travelling EAST at 120 you get a pop warning saying “ incorrect altitude setting for this heading” The AP would only accept altitudes based on your heading.
This would only activate when at or above 18000 to allow ATC to vector departures, arrivals and approaches as required.
Just a thought 👍🏻 Happy flying!