Credit score

There are some charge off accounts on my credit report that should have fallen off a few years ago. Is it possible or legal for one collection agency to pass it to another and keep it “open” or going for longer than that time frame?