Sounds like you got freelance work from recruiters contacting you for full-time job opportunities. How did you ask them about that, out of curiosity?
Basically just state that you are interested in the work, but not the current agreement and see if the company is open to hiring you as a contractor. If your experience is good and viewable/provable, they probably will be. And Bonus points if you are a good communicator and timely with such and delivering deadlines - many contractors are not and companies/recruiters get burned by them and those who ARE dependable are worth their weight in gold to companies.