is it safe for a guinea pig to have a wifle ball in its cage to play with?
If there's one thing that Confucius taught us that is most important, it's "Never mix guinea pig and wiffle ball. Bad things happen."
If he chews on it or if the holes in it are so small that he would get caught/stuck in it then, no!
it shoold be fine