Texture mapping is done on the entire object.
You can create multiple texture mappings by adding new channels. Then set in the material texture the mapping channel it should use.
I believe if you search this forum for end grain mapping you’ll find posts on how to do that. For instance Need advice to unwrap table top - #5 by nathanletwory .