Like a normal texture pack.
Just have your texture pack have the same directories as the trackwork assets and overwrite whatever models and textures you need. So say the wheel texture is normally in (inside mod)/assets/trackwork/textures/block/wheel.png you make your texture pack pack.zip/assets/trackwork/textures/block/wheel.png
(Same thing for models just with .json from blockbench instead of png and in a different place)
(If you replace the model you can have your model use a completely new texture in your pack for example at pack.zip/assets/me/blocks/new_wheel.png your not restricted to the default trackwork textures)
(You can find the asset layout of trackwork by taking the mod .jar and turning it into a .zip, then open it up and find the assets folder, and that’s the layout for replacing stuff)