once, a long time ago, the now dead COMMOTION offered an ability to paint bit map textures along a mask path. To my knowledge, outside Maya PAINT EFFECTS there is no tool that can do this (Paint Effects used to be available for AE but has not been supported for eons).
Mmh, it's not entirely impossible in AE with currently available plugins, either, just not very easy to implement. If you have Particular, you can try a few tricks, but it really is close to impossible with 3DStroke. If I find some time, I may be able to create a quick project to illustrate what I mean.