can you write any whole number as the sum of powers of 2 and only use each power once

yes. That is how binary numbers are formed.