Is it worth turning a dining room into an office?

Is it worth turning a dining room into an office?