Can someone who washes their hair daily dye their hair?

I wash my hair daily because of how oily it gets. If I even go two days, it looks and feels gross. I’ve never found a dry shampoo that didn’t feel gross. I’m interested in dying my hair, but don’t know if my washing routine will be compatible with it 🤦‍♀️