No, that's a false analogy.
Your definition of freedom is totally limiting, and doesn't warrant the name freedom. You see freedom as internal consistency of actions to desires. Can't you see how that isn't free at all? It may be the only rational 'brand' of freedom consistent with materialism, but it does not deserve to be called freedom.
EDIT: Also, that is only due to the logical nature of desire as it is defined in materialism. Up until materialisms, desires were considered things that vied for your choice, not controlled them. You could very easily contradict your desires in the older viewpoint, because desires were simply encapsulated ways of looking at a problem: you were free to consider all and choose. In the form of instincts, of course, they could strongly sway your choice, but never control it.
Do you see how your claims to logic are a little circular? You claim any other viewpoint to yours is illogical - but only because you've also claimed the definitions, and so tried to trap all opposing viewpoints in an arena in which they cannot win...