At the lowest end of the industry it’s common to get free consultations because it’s too much expense for individuals otherwise, but in corporate law or higher end services I believe it’s much less common.
I’ve been to a lawyer once, and this happened. I got billed and told to go to a different lawyer.