Derek Carr won’t take a pay cut for 2025 but willing to restructure to help the cap

Are players whose contracts have "void" years even eligible for generating a comp pick? Or is it like when you cut a player?
I've been told both ways, but the most compelling evidence is that it is possible.