Yes, it works via pressure difference. Without atmosphere you can't achieve that.
You're not thinking it through yet.
Inside a ship or station, no problem. As long as you have an atmosphere then suction will work fine.
Outside a ship in open space, nope. Space will always be a better vacuum than a suction cup could achieve.
but there's more to a suction cup than just pressure...
Of corse, like a flexible disc could become stuck via suction but not mechanical forces. That's not a suction cup though. A suction cup by shape grips and tries to pull back to its original shape so that's a pure mechanical force like a memory metal. Although I'm not sure memory metal is a good analogyMechancial 'forces' could only mean 'hooks' of any shape or size (actually grabbing imperfections on the surface). Without those or pressure differences it will never hold.
Of corse, like a flexible disc could become stuck via suction but not mechanical forces. That's not a suction cup though. A suction cup by shape grips and tries to pull back to its original shape so that's a pure mechanical force like a memory metal. Although I'm not sure memory metal is a good analogy
edit: this stuff would work: https://en.wikipedia.org/wiki/Synthetic_setae
Yup, these nano structured surfaces working at van der waals levels can basically grab onto any surface (lest it is very porous and thus doesn't provide enough actual surface).ah good find I never equated it to this. Science stuff interests me, I only have the basics but the foot thing is what I was getting at.
On the small scale a pool ball is less uniform that the earth with all its mountains and oceans so the "grip" is already on most surfaces at that level right