Yes, technically you can. BUT you have to do some type casting to convert it into a binary and then string. Then you can get at the bits of a string just like you did previously when iterating through the characters of a name.
bits = 0b1010
bitsStr = str(bin(bits)) # This is a string representation of the binary 0b1010
print bits # //-> 10
print bin(bits) # //-> 0b1010
print bitsStr # //-> '0b1010'
# Here is where you can select a specific character
# in the string starting from the end of the string.
print bitsStr[-4] # //-> '1'
Therefore, yes, technically you can, however, that’s not the most efficient nor readable way of checking bit state.
Instead, use a mask
0b1000 and then follow the example that is given.