Family lawyer represent as a contingency agent?

Can you use a family lawyer to represent as a contingency agent?