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.
Examples:
$\ce{O2-}$
$\ce{Fe4S4^3+}$
See also IR-5.4.2.2 which says "oxidation numbers are no longer recommended when naming homopolyatomic ions" because "ions such as pentabismuth(4+) (see Section IR-5.3.2.3) and dioxide(1—) (see Section IR-5.3.3.3), 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.