Can you reverse compile code from arduino boards?

...like the IBM PC BIOS. To clone it, a team of programmers were given only functional specifications of the BIOS facilities. They were quarantined carefully so that they could not disassemble and examine the 8088 machine code. In very little time, they legally reproduced the entire thing. From scratch.