I'd avoid it.Dwarf hamsters are especially at risk when in hamster balls,including things like having toes ripped off from getting them stuck in the ventilation holes.In some places it's even considered cruelty to use balls
Use a large plastic bin or something else safe,as this would actually allow enrichment and doesn't entirely block the senses(balls block all senses and provide little to no enrichment).