I'm assuming that there is gonna be another confrontation with Code since he's not dead yet. The thing I am wondering is if Boruto defeats Code does he get his karma also? Code's karma is kinda weird so maybe?
You are correct but Code's karma is different. It gives him power but it doesn't serve as a vessel for resurrection. So it may be possible for a karma user to absorb Code's karma also.