This is a semi-solved problem e.g. https://www.sonnetstore.com/products/thunderlok-a
Apple’s chassis do not support it. But conceptually that’s not a Thunderbolt problem, it’s an Apple problem. You could probably drill into the Mac Studio chassis to create mount points.
You could also epoxy it.