Yes. Here's a basic scene with couple examples of how you could possibly approach this. Mind you the mapping is not done correctly in this scene and it will break as soon as you will try to change object dimensions, or texture tiling. It's perfectly possible to fix this, but i just wanted to quickly throw some scene together and my Max knowledge is a bit rusty.