Can I use a Byte for bitmask instead of int

I am trying to store the directional data of many nodes and would like to use minimal data for this. I thought using a bit mask would work.

X -X Y -Y Z -Z Other

0 0 0 0 0 0 0 0

So, 00001000 Would be straight up for example.

I can still print values from an enum set using Bytes by passing a number value, but only ints have the “Bitmask” box in the details panel it seems.

I had planned that I could do this with a Byte each, but it seems only integers can function as bitmasks. Is it possible to use Byte variables instead of integers? And would it have an impact on the processing/storage since 1 int has 4 bytes?