Hm why shouldn't it be possible to use single bits in A6?
Mixing up digits and bits might be dangerous, but apart from that it's nothing more than some bitwise AND/OR. One digit can take up to 3 bits.

I'm using this for all button presses.

However I need a lock state for PAN, so you just reminded me of a good way to implement this