First let's ask ourselves what the "It" is. The "It" of course is just a placeholder for the noun-equivalent clause "that one can be happy." But the clause "only if one can be free" is a hypothesis, called the protasis of a conditional sentence.
This sentence has redundant possibility in it:
It is possible
that one can be happy
only if one can be free.
Hope this helps!