Unfortunately, to the best of my knowledge Godot does not support pixel-perfect collisions by default. You could however make a collision polygon that surrounds the pixels of a sprite perfectly, but this might lead to a performance hit relative to the complexity of the shape of the sprite.
This Reddit thread has some discussion about pixel-perfect collisions that may be interesting to look through.