I'd have said that the cost of repairing properly would be disproportionately expensive.
Most aluminium is heat treated, so once you'd found someone to fix the rim, you'd have to disassemble the wheel to re-heat treat the fixed rim (assuming the fix involved any sort of welding).
I'd imagine that a new rim would probably be cheaper and more convenient.
I'd have said that the cost of repairing properly would be disproportionately expensive.
Most aluminium is heat treated, so once you'd found someone to fix the rim, you'd have to disassemble the wheel to re-heat treat the fixed rim (assuming the fix involved any sort of welding).
I'd imagine that a new rim would probably be cheaper and more convenient.