Obito cannot absorb someone while he is phasing, so if the ball is small enough to keep Obito's body partially phased then he can't absorb Gaara with kamui. As long as Obito's body isn't partially phased and he is touching gaara, he should be able to absorb him.