When traveling on a codeshare flight, can I check in at either Emirates or Qantas counters?

No. If you are traveling on an Emirates-operated flight, you need to check in at the Emirates counter, and for Qantas-operated flights at the Qantas counter.