Technically, no it is not legal. In theory, you have rights and claims to assert against that person who owes the child support. It does not give you the right to hold the property as collateral.