IUPAC recognizes that there are fractional oxidation states, but asks that you avoid writing them.
IR 4.6.1 says not to write an oxidation state "where it is not feasible or reasonable to define" because:
This avoids the use of fractional oxidation states.
See also IR-188.8.131.52 which says "oxidation numbers are no longer recommended when naming homopolyatomic ions" because "ions such as pentabismuth(4+) (see Section IR-184.108.40.206) and dioxide(1—) (see Section IR-220.127.116.11), with fractional formal oxidation numbers, could not be named at all"
However, in the particular example in the question, not all the carbons are equivalent. Some will have 3 hydrogens, some 2 hydrogens, and depending upon the isomer, perhaps some with 1 or 0 hydrogens. So there is no fractional oxidation state in this example.