would you consider that eukaryotic cells got rid of their cell wall to benefit as a heterotroph?

They must of had a cell wall to begin with because all cells come from prokaryotic cells.