Yes, anyone can get lice, no matter whether your hair is colored, permed, or virgin hair.
Just because you have dyed your hair does not mean that you won't get lice. Why would you think that?
I actually had a beautician tell me that you cannot. Doesn't make sense to me.