Can I define a coordinate system based on a mesh, as generated coordinates are based on a bounding box?
I think you might be wanting this setup, where we use Vector Math nodes to convert Generated Coordinates to something equal or almost equal to Object Space.
It's commonly used with Vector Displacement, because Generated space performs some very specific transformations better than Object.