As long as the new lights fit in the fixture fine, I'd don't think it would be a problem.
Since you didn't say specifically what brand of fixture it is, I can't say with 100% surety, but if it's anything like my compacts (Satellite Single and Dual by Current), then if the new lights have the same pin system and are long enough to reach the support clips, I can't think of any reason why it wouldn't work.