Absolutely. trans-1,2-Cyclobutanedicarboxylic acid gives us a wonderfully small example. Picture a ring made from just four carbon atoms. Now attach two -COOH groups to neighboring carbons.
If both groups point toward the same side of the ring, we call the arrangement cis. If they point toward opposite sides, it's trans. Same atoms. Same connections. Different directions in space. And that matters.