That's simply not true; 2D colliders don't interact with sprites. Certainly, as a convenience, if you add a 2D collider onto a GameObject that already has a SpriteRenderer then it'll set the size of the collider to match any assigned sprite but that's it. If there's no SpriteRenderer then it'll assume its default size.