Yes, they can do this. The law does not let you profit on your claim--you just get reimbursement of your costs. A contractor would have charged you for his profit; his profit becomes your cost, which you are reimbursed for. But if you did the work, you were not charged the profit, so your are not reimbursed it.