I largely disagree not from a policy position but in practical terms. In most major employers modern software processes allow for major time gaps in delivery and productivity. That time can be spent on anything regardless of employer blessing. Although personal projects created in these time pockets do not carry the endorsement of the employer they are often silently blessed as no cost innovation.
Under utilized yes, but slacking off no. An employee is beholden to the work assigned to them. Large pockets of availability occur for developers when either a developer is substantially more productive than their peers or when internal processes limit increased productivity. In either case the developer is doing all they can to do their job with plenty of availability remaining for personal work.