Can R22 be replaced with r410a?
No. You can’t do that. It probably wouldn’t work. Even though you put a compressor in there that’s R410A, the rest of condenser probably isn’t tested and rated for operating at R410A pressures because R410A has to operate at a higher pressure.
The U.S. government has placed restrictions on R22 and has issued the requirement that R22 refrigerant must be eliminated from use in cooling systems by the year 2020.