A Bitflag has only a single bit set to 1, whereas a Bitmask can have one or more bits set to 1.
Only in cases where a Bitmask has only one bit set to 1, it may be interchangeably used as a Bitflag.
But you wouldn't call your Bitmask as a Bitflag as that is not always true.